summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2020-04-14 18:56:58 +0200
committerGitHub <noreply@github.com>2020-04-14 18:56:58 +0200
commitcde6d768de0c48d470e6585d9b688c241187e229 (patch)
tree0088ab219228c28121f70ef61223b4339af24489 /lib/private
parentd7a74d0e35798364fcf62ea6f89d38c0f53184ea (diff)
parent51d174a40bf6d638cf0e064a88b50d160611fe17 (diff)
downloadnextcloud-server-cde6d768de0c48d470e6585d9b688c241187e229.tar.gz
nextcloud-server-cde6d768de0c48d470e6585d9b688c241187e229.zip
Merge pull request #20181 from nextcloud/bugfix/noid/dont-break-on-path-null
Also bail out when the path is actually null
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Share20/DefaultShareProvider.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Share20/DefaultShareProvider.php b/lib/private/Share20/DefaultShareProvider.php
index 75745a7fe97..ff46badee3b 100644
--- a/lib/private/Share20/DefaultShareProvider.php
+++ b/lib/private/Share20/DefaultShareProvider.php
@@ -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;
}