mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
fix PHP 5.4 Fatal error: Can't use function return value in write context
This commit is contained in:
parent
91ef4dadcd
commit
9fe73b20b3
@ -1592,11 +1592,11 @@ class Account implements \ArrayAccess
|
||||
{
|
||||
$name = $account['acc_name'];
|
||||
}
|
||||
if (!empty(trim($account['ident_email'])))
|
||||
if (!trim($account['ident_email']))
|
||||
{
|
||||
$name .= ' <'.$account['ident_email'].'>';
|
||||
}
|
||||
elseif(!empty(trim($account['acc_imap_username'])))
|
||||
elseif(!trim($account['acc_imap_username']))
|
||||
{
|
||||
$name .= ' <'.$account['acc_imap_username'].'>';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user