From b305532907bbfaf377b2dfe5b8bd606181087239 Mon Sep 17 00:00:00 2001 From: dawnlinux Date: Tue, 14 Dec 2004 02:12:09 +0000 Subject: [PATCH] Correct a variable name, it should be "$_account_id" not "$account_id" --- phpgwapi/inc/class.auth_ldap.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.auth_ldap.inc.php b/phpgwapi/inc/class.auth_ldap.inc.php index 81ecf3fe40..7852bb0deb 100644 --- a/phpgwapi/inc/class.auth_ldap.inc.php +++ b/phpgwapi/inc/class.auth_ldap.inc.php @@ -166,13 +166,13 @@ } else { - $GLOBALS['phpgw']->db->query("select account_lastlogin from phpgw_accounts where account_id='$account_id'",__LINE__,__FILE__); + $GLOBALS['phpgw']->db->query("select account_lastlogin from phpgw_accounts where account_id='$_account_id'",__LINE__,__FILE__); $GLOBALS['phpgw']->db->next_record(); $this->previous_login = $GLOBALS['phpgw']->db->f('account_lastlogin'); $GLOBALS['phpgw']->db->query("update phpgw_accounts set account_lastloginfrom='" . "$ip', account_lastlogin='" . time() - . "' where account_id='$account_id'",__LINE__,__FILE__); + . "' where account_id='$_account_id'",__LINE__,__FILE__); } } }