Skip to content

Commit

Permalink
folders: fix byref error (fix #207)
Browse files Browse the repository at this point in the history
  • Loading branch information
pulsejet committed Nov 16, 2022
1 parent 6c49ace commit f1e9765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Controller/FoldersTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function getSubfoldersEntry(Folder &$folder)
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(),
Expand Down

0 comments on commit f1e9765

Please sign in to comment.