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 7ead027 + d3576d3 commit b8ab9ffCopy full SHA for b8ab9ff
apps/workflowengine/lib/Entity/File.php
@@ -140,7 +140,7 @@ public function isLegitimatedForUserId(string $uid): bool {
140
return true;
141
}
142
$acl = $this->shareManager->getAccessList($node, true, true);
143
- return array_key_exists($uid, $acl['users']);
+ return isset($acl['users']) && array_key_exists($uid, $acl['users']);
144
} catch (NotFoundException $e) {
145
return false;
146
0 commit comments