mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
fix the update accounts lastloginfrom
This commit is contained in:
parent
6fb62107fe
commit
a33f2f4fa2
@ -76,9 +76,10 @@
|
||||
{
|
||||
global $phpgw;
|
||||
|
||||
$now = time();
|
||||
$phpgw->db->query("update phpgw_accounts set account_lastloginfrom='"
|
||||
. "$ip', account_lastlogin='" . time()
|
||||
. "' where account_lid='$login'",__LINE__,__FILE__);
|
||||
. "$ip', account_lastlogin='" . $now
|
||||
. "' where account_lid='$account_lid'",__LINE__,__FILE__);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user