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