diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-06-25 21:43:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-25 21:43:37 +0200 |
commit | 2f5810f26ec9aaeece011953979def8cfd94f452 (patch) | |
tree | e5dfe56537169dec54339fb0799856fc8c2ab5a7 /lib/private/Files/View.php | |
parent | 0f0dfc837e24e30b461e60dc7ec93b16e55c9bb3 (diff) | |
parent | 9dac9710e4c87ca87b857bfd9cbd1eb5841cc2ca (diff) | |
download | nextcloud-server-2f5810f26ec9aaeece011953979def8cfd94f452.tar.gz nextcloud-server-2f5810f26ec9aaeece011953979def8cfd94f452.zip |
Merge pull request #15832 from nextcloud/bugfix/noid/fulltext-search-groupfolders
Fix full text search for groupfolders
Diffstat (limited to 'lib/private/Files/View.php')
-rw-r--r-- | lib/private/Files/View.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php index 2516b782ee7..8322576c5c2 100644 --- a/lib/private/Files/View.php +++ b/lib/private/Files/View.php @@ -1933,7 +1933,7 @@ class View { if ($mount) { try { $storage = $mount->getStorage(); - if ($storage->instanceOfStorage('\OCP\Files\Storage\ILockingStorage')) { + if ($storage && $storage->instanceOfStorage('\OCP\Files\Storage\ILockingStorage')) { $storage->acquireLock( $mount->getInternalPath($absolutePath), $type, @@ -1974,7 +1974,7 @@ class View { if ($mount) { try { $storage = $mount->getStorage(); - if ($storage->instanceOfStorage('\OCP\Files\Storage\ILockingStorage')) { + if ($storage && $storage->instanceOfStorage('\OCP\Files\Storage\ILockingStorage')) { $storage->changeLock( $mount->getInternalPath($absolutePath), $type, |