mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 12:51:52 +02: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();
|
$identities = array();
|
||||||
if (!isset($params['setup']))
|
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) {
|
foreach($allIdentities as $key => $singleIdentity) {
|
||||||
if (isset($identities[$singleIdentity['acc_id']])) continue; // only use the first
|
if (isset($identities[$singleIdentity['acc_id']])) continue; // only use the first
|
||||||
$iS = mail_bo::generateIdentityString($singleIdentity);
|
$iS = mail_bo::generateIdentityString($singleIdentity);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user