File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -116,9 +116,11 @@ private function getRelevantPaths(string $path): array {
116
116
if ($ fromTrashbin && ($ path === '__groupfolders/trash ' )) {
117
117
/* We are in trash and hit the root folder, continue looking for ACLs on parent folders in original location */
118
118
$ trashItemRow = $ this ->trashManager ->getTrashItemByFileName ($ groupFolderId , $ rootTrashedItemName , $ rootTrashedItemDate );
119
- $ path = dirname ('__groupfolders/ ' . $ groupFolderId . '/ ' . $ trashItemRow ['original_location ' ]);
120
119
$ fromTrashbin = false ;
121
- continue ;
120
+ if ($ trashItemRow ) {
121
+ $ path = dirname ('__groupfolders/ ' . $ groupFolderId . '/ ' . $ trashItemRow ['original_location ' ]);
122
+ continue ;
123
+ }
122
124
}
123
125
124
126
if ($ path === '. ' || $ path === '/ ' ) {
You can’t perform that action at this time.
0 commit comments