mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
Another patch to previous commit in order to cover empty space
This commit is contained in:
parent
760bd4106f
commit
2d1bb1ecc3
@ -1607,11 +1607,11 @@ class Account implements \ArrayAccess
|
||||
{
|
||||
$name = $account['acc_name'];
|
||||
}
|
||||
if (strpos($account['ident_email'], '@') !== false || !trim($account['ident_email']))
|
||||
if (strpos($account['ident_email'], '@') !== false || trim($account['ident_email']) !='')
|
||||
{
|
||||
$name .= ' <'.$account['ident_email'].'>';
|
||||
}
|
||||
elseif(strpos($account['acc_imap_username'], '@') !== false || !trim($account['acc_imap_username']))
|
||||
elseif(strpos($account['acc_imap_username'], '@') !== false || trim($account['acc_imap_username']) !='')
|
||||
{
|
||||
$name .= ' <'.$account['acc_imap_username'].'>';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user