KMP-65 Fixed shared public folders are not visible in mobile device

Changed parameters of calling getSubFolders() in function
getSubFoldersPublic(). $storeUserName was not passed to getSubFolders()

Signed-off-by: Tobias Stoeber <mail@tobias-stoeber.de>
This commit is contained in:
tosty 2018-08-06 20:55:59 +02:00
parent 3299d6097d
commit 7a5722e940

View File

@ -795,7 +795,7 @@ class PluginMDMModule extends Module
if ($subfolder[PR_SUBFOLDERS]) { if ($subfolder[PR_SUBFOLDERS]) {
if ($specialFolder) { if ($specialFolder) {
// Special folders can be redirected again to getSubFolders(), // Special folders can be redirected again to getSubFolders(),
$this->getSubFolders($specialFolder, $store, $properties, $storeData, $subfolder[PR_ENTRYID], $storeUserName); $this->getSubFolders($specialFolder, $store, $properties, $storeData, $storeUserName);
} else { } else {
$folderObject = mapi_msgstore_openentry($store, $subfolder[PR_ENTRYID]); $folderObject = mapi_msgstore_openentry($store, $subfolder[PR_ENTRYID]);
array_push($expand, array('folder' => $folderObject, 'props' => $subfolder)); array_push($expand, array('folder' => $folderObject, 'props' => $subfolder));