folders: fix byref error (fix #207)
parent
6c49ace00a
commit
f1e9765814
|
@ -34,7 +34,7 @@ trait FoldersTrait
|
||||||
return [
|
return [
|
||||||
'dayid' => \OCA\Memories\Util::$TAG_DAYID_FOLDERS,
|
'dayid' => \OCA\Memories\Util::$TAG_DAYID_FOLDERS,
|
||||||
'count' => \count($folders),
|
'count' => \count($folders),
|
||||||
'detail' => array_map(function (&$node) use (&$folder) {
|
'detail' => array_map(function ($node) use (&$folder) {
|
||||||
return [
|
return [
|
||||||
'fileid' => $node->getId(),
|
'fileid' => $node->getId(),
|
||||||
'name' => $node->getName(),
|
'name' => $node->getName(),
|
||||||
|
|
Loading…
Reference in New Issue