Merge pull request #20181 from nextcloud/bugfix/noid/dont-break-on-path-null

Also bail out when the path is actually null
This commit is contained in:
Joas Schilling 2020-04-14 18:56:58 +02:00 committed by GitHub
commit cde6d768de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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