mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-17 20:21:18 +01:00
silence warning about array_flip on array(null,0)
This commit is contained in:
parent
4a2d408a42
commit
60ff83c8d6
@ -1477,7 +1477,7 @@ class emailadmin_account implements ArrayAccess
|
||||
{
|
||||
if (!isset($account['acc_imap_username']))
|
||||
{
|
||||
$account += emailadmin_credentials::read($account['acc_id'], null, array($account_id, 0));
|
||||
$account += emailadmin_credentials::read($account['acc_id'], null, ($account_id?array($account_id, 0):null));
|
||||
}
|
||||
if (empty($account['acc_imap_username']) && $account['acc_imap_logintype'] &&
|
||||
(!isset($account_id) || $account_id == $GLOBALS['egw_info']['user']['account_id']))
|
||||
|
Loading…
Reference in New Issue
Block a user