@@ -146,8 +146,9 @@ |
||
| 146 | 146 | public function messageList($store, $entryid, $action, $actionType) { |
| 147 | 147 | $this->searchFolderList = false; // Set to indicate this is not the search result, but a normal folder content |
| 148 | 148 | |
| 149 | - if (!$store || !$entryid) |
|
| 150 | - return; |
|
| 149 | + if (!$store || !$entryid) { |
|
| 150 | + return; |
|
| 151 | + } |
|
| 151 | 152 | |
| 152 | 153 | // Restriction |
| 153 | 154 | $this->parseRestriction($action); |
@@ -1401,8 +1401,9 @@ |
||
| 1401 | 1401 | $data = []; |
| 1402 | 1402 | $folder = mapi_msgstore_openentry($store, $entryid); |
| 1403 | 1403 | |
| 1404 | - if (!$folder) |
|
| 1405 | - return $data; |
|
| 1404 | + if (!$folder) { |
|
| 1405 | + return $data; |
|
| 1406 | + } |
|
| 1406 | 1407 | |
| 1407 | 1408 | $table = $getHierarchy ? mapi_folder_gethierarchytable($folder, $flags) : mapi_folder_getcontentstable($folder, $flags); |
| 1408 | 1409 | |