Pass only var by ref
parent
cb878d76e6
commit
abceb4db7d
|
@ -240,7 +240,8 @@ trait TimelineQueryDays
|
||||||
// Get all subfolder Ids recursively
|
// Get all subfolder Ids recursively
|
||||||
$folderIds = [];
|
$folderIds = [];
|
||||||
if ($folder instanceof Folder) {
|
if ($folder instanceof Folder) {
|
||||||
$folderIds = $this->getSubfolderIdsRecursive($query->getConnection(), $folder, $archive);
|
$conn = $query->getConnection();
|
||||||
|
$folderIds = $this->getSubfolderIdsRecursive($conn, $folder, $archive);
|
||||||
} else {
|
} else {
|
||||||
$folderIds = $folder;
|
$folderIds = $folder;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue