diff options
author | Joas Schilling <coding@schilljs.com> | 2020-03-26 13:49:47 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-03-26 13:49:47 +0100 |
commit | 51d174a40bf6d638cf0e064a88b50d160611fe17 (patch) | |
tree | 2bcc200707d28035407893f11063169f17dcd6b7 /lib | |
parent | 902adbe1592ed2828365f765c21acad654204c3b (diff) | |
download | nextcloud-server-51d174a40bf6d638cf0e064a88b50d160611fe17.tar.gz nextcloud-server-51d174a40bf6d638cf0e064a88b50d160611fe17.zip |
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 <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Share20/DefaultShareProvider.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |