forked from extern/egroupware
fix problem with missing folders from other and user namespace caused by wrong (calculated under different assumptions) parent-id
This commit is contained in:
parent
bb0035d687
commit
64259ce47c
@ -1633,7 +1633,7 @@ class mail_zpush implements activesync_plugin_write, activesync_plugin_sendmail,
|
||||
array_pop($parent);
|
||||
$parent = implode($delimiter,$parent);
|
||||
|
||||
$id = $parent ? $this->createID($account, $parent) : '0';
|
||||
$id = $parent && $this->folders[$parent] ? $this->createID($account, $parent) : '0';
|
||||
if ($this->debugLevel>1) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__."('$folder') --> parent=$parent --> $id");
|
||||
return $id;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user