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:
commit
cde6d768de
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue