Merge pull request #3157 from nextcloud/bugfix/noid/shared-former-external-mount

Also bail out when the path is actually null
This commit is contained in:
Joas Schilling 2020-03-26 14:59:38 +01:00 committed by GitHub
commit 516e4ede99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -830,7 +830,7 @@ class RoomShareProvider implements IShareProvider {
private function isAccessibleResult(array $data): bool {
// exclude shares leading to deleted file entries
if ($data['fileid'] === null) {
if ($data['fileid'] === null || $data['path'] === null) {
return false;
}