mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-22 05:49:03 +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)
|
foreach($allValues[0]['mail'] as $key => $value)
|
||||||
{
|
{
|
||||||
if ($key == 'count') continue;
|
if ($key === 'count') continue;
|
||||||
|
|
||||||
$emailAddresses[] = array (
|
$emailAddresses[] = array (
|
||||||
'name' => $realName,
|
'name' => $realName,
|
||||||
'address' => $allValues[0]['mail'][0],
|
'address' => $value,
|
||||||
'type' => !$key ? 'default' : 'alternate',
|
'type' => !$key ? 'default' : 'alternate',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -187,7 +187,7 @@ class emailadmin_smtp_ldap extends defaultsmtp
|
|||||||
{
|
{
|
||||||
foreach($allValues[0][$this->config['alias_attr']] as $key => $value)
|
foreach($allValues[0][$this->config['alias_attr']] as $key => $value)
|
||||||
{
|
{
|
||||||
if ($key == 'count') continue;
|
if ($key === 'count') continue;
|
||||||
|
|
||||||
$emailAddresses[] = array(
|
$emailAddresses[] = array(
|
||||||
'name' => $realName,
|
'name' => $realName,
|
||||||
|
Loading…
Reference in New Issue
Block a user