Convert folderIds to int

old-stable24
Varun Patil 2022-10-26 10:51:43 -07:00
parent 387c79d6a2
commit d43fd807f9
1 changed files with 1 additions and 0 deletions

View File

@ -247,6 +247,7 @@ trait TimelineQueryDays
}
// Join with folder IDs
$folderIds = array_map('intval', $folderIds);
$pathQuery = $query->expr()->in('f.parent', $query->createNamedParameter($folderIds, IQueryBuilder::PARAM_INT_ARRAY));
} else {
// If getting non-recursively folder only check for parent