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