From 51d174a40bf6d638cf0e064a88b50d160611fe17 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 26 Mar 2020 13:49:47 +0100 Subject: [PATCH] Also bail out when the path is actually null Apparently this can happen when a external mount was shared that is later not available anymore Signed-off-by: Joas Schilling --- lib/private/Share20/DefaultShareProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Share20/DefaultShareProvider.php b/lib/private/Share20/DefaultShareProvider.php index e7f077f4022..6a6b39526d2 100644 --- a/lib/private/Share20/DefaultShareProvider.php +++ b/lib/private/Share20/DefaultShareProvider.php @@ -831,7 +831,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; } -- 2.39.5