Pass only var by ref

old-stable24
Varun Patil 2022-10-26 10:40:33 -07:00
parent cb878d76e6
commit abceb4db7d
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}