From 7389eaba412605188113d0a3df2eda26ea2611a1 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 27 Aug 2014 05:59:56 +0000 Subject: [PATCH] * Mail/PostgreSQL: fixed SQL error in compose --- emailadmin/inc/class.emailadmin_account.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emailadmin/inc/class.emailadmin_account.inc.php b/emailadmin/inc/class.emailadmin_account.inc.php index 134a67daaa..55e350e621 100644 --- a/emailadmin/inc/class.emailadmin_account.inc.php +++ b/emailadmin/inc/class.emailadmin_account.inc.php @@ -448,7 +448,7 @@ class emailadmin_account implements ArrayAccess ' JOIN '.self::TABLE.' ON '.self::TABLE.'.acc_id='.self::IDENTITIES_TABLE.'.acc_id'. ' LEFT JOIN '.emailadmin_credentials::TABLE.' ON '.self::TABLE.'.acc_id='.emailadmin_credentials::TABLE.'.acc_id AND '. emailadmin_credentials::TABLE.'.account_id='.(int)$GLOBALS['egw_info']['user']['account_id'].' AND '. - 'cred_type&'.emailadmin_credentials::IMAP); + '(cred_type&'.emailadmin_credentials::IMAP.') > 0'); //error_log(__METHOD__."(acc_id=$acc_id, replace_placeholders=$replace_placeholders, field='$field') sql=".$rs->sql); return new egw_db_callback_iterator($rs,