We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22bf3f2 commit bbdcf11Copy full SHA for bbdcf11
lib/FilesHooks.php
@@ -396,7 +396,10 @@ protected function fileMoving($oldPath, $newPath) {
396
}
397
$accessList = $this->getUserPathsFromPath($parentPath, $parentOwner);
398
$affectedUsers = $accessList['users'];
399
- $oldUsers = $this->oldAccessList['users'];
+ if(!isset($this->oldAccessList['users'])) return;
400
+ $oldUsers = $this->oldAccessList['users'];
401
+
402
+ if($oldUsers==null) return;
403
404
// file can be shared using GroupFolders, including ACL check
405
if ($this->config->getSystemValueBool('activity_use_cached_mountpoints', false)) {
0 commit comments