mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
fix error reported by tarantir; thx
This commit is contained in:
parent
086195c0aa
commit
d241f9e019
@ -159,7 +159,8 @@ class mail_activesync implements activesync_plugin_write, activesync_plugin_send
|
||||
$identities = array();
|
||||
if (!isset($params['setup']))
|
||||
{
|
||||
if (!$this->mail) $this->mail = mail_bo::getInstance(true,(self::$profileID=='G'?emailadmin_bo::getDefaultAccID():self::$profileID));
|
||||
$profileID=(self::$profileID=='G'?emailadmin_bo::getDefaultAccID():self::$profileID);
|
||||
if (!$this->mail) $this->mail = mail_bo::getInstance(true,$profileID);
|
||||
foreach($allIdentities as $key => $singleIdentity) {
|
||||
if (isset($identities[$singleIdentity['acc_id']])) continue; // only use the first
|
||||
$iS = mail_bo::generateIdentityString($singleIdentity);
|
||||
|
Loading…
Reference in New Issue
Block a user