mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 21:49:28 +01:00
merged r29611/2: fixed getAccountEmailAddress ...
This commit is contained in:
parent
d72984ba78
commit
87c988afee
@ -174,11 +174,11 @@ class emailadmin_smtp_ldap extends defaultsmtp
|
||||
{
|
||||
foreach($allValues[0]['mail'] as $key => $value)
|
||||
{
|
||||
if ($key == 'count') continue;
|
||||
if ($key === 'count') continue;
|
||||
|
||||
$emailAddresses[] = array (
|
||||
'name' => $realName,
|
||||
'address' => $allValues[0]['mail'][0],
|
||||
'address' => $value,
|
||||
'type' => !$key ? 'default' : 'alternate',
|
||||
);
|
||||
}
|
||||
@ -187,7 +187,7 @@ class emailadmin_smtp_ldap extends defaultsmtp
|
||||
{
|
||||
foreach($allValues[0][$this->config['alias_attr']] as $key => $value)
|
||||
{
|
||||
if ($key == 'count') continue;
|
||||
if ($key === 'count') continue;
|
||||
|
||||
$emailAddresses[] = array(
|
||||
'name' => $realName,
|
||||
|
Loading…
Reference in New Issue
Block a user