Make sure the recursive result is returned :-X

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/14892/head
Joas Schilling 7 years ago
parent c5560117da
commit d4771be2c0
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
  1. 2
      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;

Loading…
Cancel
Save