mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
fix PHP 5.4 Fatal error: Can't use function return value in write context
This commit is contained in:
parent
b34023d194
commit
d4a64babbd
@ -1607,11 +1607,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