mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
Fix the function call some more
This commit is contained in:
parent
56085e8acf
commit
934067f137
@ -246,7 +246,7 @@
|
|||||||
$pwd_check = '';
|
$pwd_check = '';
|
||||||
if(!$admin)
|
if(!$admin)
|
||||||
{
|
{
|
||||||
$pwd_check = " AND account_pwd='" . $GLOBALS['phpgw']->common->encrypt_sql($old_passwd) . "'";
|
$pwd_check = " AND account_pwd='" . $this->encrypt_sql($old_passwd) . "'";
|
||||||
}
|
}
|
||||||
$this->db->query("UPDATE phpgw_accounts SET account_pwd='" . $encrypted_passwd . "',"
|
$this->db->query("UPDATE phpgw_accounts SET account_pwd='" . $encrypted_passwd . "',"
|
||||||
. "account_lastpwd_change='" . time() . "' WHERE account_id='" . $account_id . "'" . $pwd_check,__LINE__,__FILE__);
|
. "account_lastpwd_change='" . time() . "' WHERE account_id='" . $account_id . "'" . $pwd_check,__LINE__,__FILE__);
|
||||||
|
Loading…
Reference in New Issue
Block a user