From 7a5722e940bec0e61dca89957c55e81343ca5258 Mon Sep 17 00:00:00 2001 From: tosty Date: Mon, 6 Aug 2018 20:55:59 +0200 Subject: [PATCH] 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 --- php/class.pluginmdmmodule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/class.pluginmdmmodule.php b/php/class.pluginmdmmodule.php index 88f7e36..92d6a8c 100755 --- a/php/class.pluginmdmmodule.php +++ b/php/class.pluginmdmmodule.php @@ -795,7 +795,7 @@ class PluginMDMModule extends Module if ($subfolder[PR_SUBFOLDERS]) { if ($specialFolder) { // 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 { $folderObject = mapi_msgstore_openentry($store, $subfolder[PR_ENTRYID]); array_push($expand, array('folder' => $folderObject, 'props' => $subfolder));