fix the update accounts lastloginfrom

This commit is contained in:
skeeter 2001-02-09 04:31:47 +00:00
parent 6fb62107fe
commit a33f2f4fa2

View File

@ -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__);
}
}
?>