summaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-01-29 12:22:34 +0100
committerJulius Härtl <jus@bitgrid.net>2019-03-01 20:56:18 +0100
commit53ac9bdda17e5141fceaec1a895f733c13c73c7a (patch)
tree19c81b212c82930e948dc98ae0cef5be5d427de3 /core/Controller
parent3777df64ae0a4a3d79e000541c0c512fb3ebf304 (diff)
downloadnextcloud-server-53ac9bdda17e5141fceaec1a895f733c13c73c7a.tar.gz
nextcloud-server-53ac9bdda17e5141fceaec1a895f733c13c73c7a.zip
Implement frontend for search/rename
Signed-off-by: Julius Härtl <jus@bitgrid.net> Move to vuex Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/CollaborationResourcesController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/CollaborationResourcesController.php b/core/Controller/CollaborationResourcesController.php
index 565e0ba4739..a15904a4c2a 100644
--- a/core/Controller/CollaborationResourcesController.php
+++ b/core/Controller/CollaborationResourcesController.php
@@ -193,7 +193,7 @@ class CollaborationResourcesController extends OCSController {
return [
'id' => $collection->getId(),
'name' => $collection->getName(),
- 'resources' => array_map([$this, 'prepareResources'], $collection->getResources()),
+ 'resources' => array_values(array_filter(array_map([$this, 'prepareResources'], $collection->getResources()))),
];
}