diff --git a/lib/Controller/FoldersTrait.php b/lib/Controller/FoldersTrait.php index 847e9fb8..37c5d217 100644 --- a/lib/Controller/FoldersTrait.php +++ b/lib/Controller/FoldersTrait.php @@ -34,7 +34,7 @@ trait FoldersTrait return [ 'dayid' => \OCA\Memories\Util::$TAG_DAYID_FOLDERS, 'count' => \count($folders), - 'detail' => array_map(function (&$node) use (&$folder) { + 'detail' => array_map(function ($node) use (&$folder) { return [ 'fileid' => $node->getId(), 'name' => $node->getName(),