diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-05-31 23:16:06 +0200 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-06-17 12:52:22 -0100 |
commit | 9dac9710e4c87ca87b857bfd9cbd1eb5841cc2ca (patch) | |
tree | 61284e794a4a78cc664ceef2c3897d44f917742c /lib/private/Files | |
parent | 2378012ee01c8eab6438d9c9005253c5b21f5e14 (diff) | |
download | nextcloud-server-9dac9710e4c87ca87b857bfd9cbd1eb5841cc2ca.tar.gz nextcloud-server-9dac9710e4c87ca87b857bfd9cbd1eb5841cc2ca.zip |
Fix full text search for groupfolders
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Files')
-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 fef6153fb9a..7e177b269d1 100644 --- a/lib/private/Files/View.php +++ b/lib/private/Files/View.php @@ -1928,7 +1928,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, @@ -1969,7 +1969,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, |