fix PHP 5.4 Fatal error: Can't use function return value in write context

This commit is contained in:
Ralf Becker 2016-12-08 16:22:54 +01:00
parent 91ef4dadcd
commit 9fe73b20b3

View File

@ -1592,11 +1592,11 @@ class Account implements \ArrayAccess
{ {
$name = $account['acc_name']; $name = $account['acc_name'];
} }
if (!empty(trim($account['ident_email']))) if (!trim($account['ident_email']))
{ {
$name .= ' <'.$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'].'>'; $name .= ' <'.$account['acc_imap_username'].'>';
} }