We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0b5686 commit b2540e4Copy full SHA for b2540e4
lib/ACL/ACLManager.php
@@ -116,9 +116,11 @@ private function getRelevantPaths(string $path): array {
116
if ($fromTrashbin && ($path === '__groupfolders/trash')) {
117
/* We are in trash and hit the root folder, continue looking for ACLs on parent folders in original location */
118
$trashItemRow = $this->trashManager->getTrashItemByFileName($groupFolderId, $rootTrashedItemName, $rootTrashedItemDate);
119
- $path = dirname('__groupfolders/' . $groupFolderId . '/' . $trashItemRow['original_location']);
120
$fromTrashbin = false;
121
- continue;
+ if ($trashItemRow) {
+ $path = dirname('__groupfolders/' . $groupFolderId . '/' . $trashItemRow['original_location']);
122
+ continue;
123
+ }
124
}
125
126
if ($path === '.' || $path === '/') {
0 commit comments