We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f4e4a85 + 7d7ef1d commit 2b651ccCopy full SHA for 2b651cc
apps/workflowengine/lib/Entity/File.php
@@ -141,7 +141,7 @@ public function isLegitimatedForUserId(string $uid): bool {
141
return true;
142
}
143
$acl = $this->shareManager->getAccessList($node, true, true);
144
- return array_key_exists($uid, $acl['users']);
+ return isset($acl['users']) && array_key_exists($uid, $acl['users']);
145
} catch (NotFoundException $e) {
146
return false;
147
0 commit comments