mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
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>
This commit is contained in:
parent
902adbe159
commit
51d174a40b
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue