summaryrefslogtreecommitdiffstats
path: root/lib/private/Collaboration
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-03-28 09:27:05 +0100
committerJoas Schilling <coding@schilljs.com>2019-03-28 09:27:05 +0100
commitd4771be2c0a75673fdb8a9dc91f3ed5963d95155 (patch)
treedcd046d8808d27011a26b15afe9cdb777ada1bf6 /lib/private/Collaboration
parentc5560117da0da512e9873a9bf55d7b6f89b37166 (diff)
downloadnextcloud-server-d4771be2c0a75673fdb8a9dc91f3ed5963d95155.tar.gz
nextcloud-server-d4771be2c0a75673fdb8a9dc91f3ed5963d95155.zip
Make sure the recursive result is returned :-X
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Collaboration')
-rw-r--r--lib/private/Collaboration/Resources/Manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Collaboration/Resources/Manager.php b/lib/private/Collaboration/Resources/Manager.php
index fe5af94ab07..4d24636b6b0 100644
--- a/lib/private/Collaboration/Resources/Manager.php
+++ b/lib/private/Collaboration/Resources/Manager.php
@@ -158,7 +158,7 @@ class Manager implements IManager {
$result->closeCursor();
if (empty($collections) && $foundResults === $limit) {
- $this->searchCollections($user, $filter, $limit, $start + $limit);
+ return $this->searchCollections($user, $filter, $limit, $start + $limit);
}
return $collections;