mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 04:31:06 +01:00
* PostgreSQL/Mail: changing password gave SQL error
This commit is contained in:
parent
b9c985e045
commit
0c696efc01
@ -22,7 +22,7 @@ class emailadmin_credentials
|
||||
{
|
||||
const APP = 'emailadmin';
|
||||
const TABLE = 'egw_ea_credentials';
|
||||
const USER_EDITABLE_JOIN = 'JOIN egw_ea_accounts ON egw_ea_accounts.acc_id=egw_ea_credentials.acc_id AND acc_user_editable=1';
|
||||
const USER_EDITABLE_JOIN = 'JOIN egw_ea_accounts ON egw_ea_accounts.acc_id=egw_ea_credentials.acc_id AND acc_user_editable=';
|
||||
|
||||
/**
|
||||
* Credentials for type IMAP
|
||||
@ -365,7 +365,7 @@ class emailadmin_credentials
|
||||
$old_mcrypt = null;
|
||||
foreach(self::$db->select(self::TABLE, self::TABLE.'.*', array(
|
||||
'account_id' => $data['account_id']
|
||||
),__LINE__, __FILE__, false, '', 'emailadmin', 0, self::USER_EDITABLE_JOIN) as $row)
|
||||
),__LINE__, __FILE__, false, '', 'emailadmin', 0, self::USER_EDITABLE_JOIN.self::$db->quote(true, 'bool')) as $row)
|
||||
{
|
||||
if (!isset($old_mcrypt))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user