From 3c6ed9eb0868b92621e08f315908207ad3995a8d Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Wed, 11 May 2011 09:26:14 +0000 Subject: [PATCH] fix typo, as the account_lastpwd_change was not altered anymore on password change --- phpgwapi/inc/class.auth_sql.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.auth_sql.inc.php b/phpgwapi/inc/class.auth_sql.inc.php index 0accf43247..7ef2d4cf9f 100644 --- a/phpgwapi/inc/class.auth_sql.inc.php +++ b/phpgwapi/inc/class.auth_sql.inc.php @@ -236,7 +236,7 @@ class auth_sql implements auth_backend private function _update_passwd($encrypted_passwd,$new_passwd,$account_id,$admin=false,$update_lastpw_change=true) { $update = array('account_pwd' => $encrypted_passwd); - if ($update_lastpw_change) $write['account_lastpwd_change'] = time(); + if ($update_lastpw_change) $update['account_lastpwd_change'] = time(); $this->db->update($this->table,$update,array( 'account_id' => $account_id,