From d43fd807f9451d2e23b46080eaabe1777807030f Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Wed, 26 Oct 2022 10:51:43 -0700 Subject: [PATCH] Convert folderIds to int --- lib/Db/TimelineQueryDays.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Db/TimelineQueryDays.php b/lib/Db/TimelineQueryDays.php index 27b4a9a6..79f215ad 100644 --- a/lib/Db/TimelineQueryDays.php +++ b/lib/Db/TimelineQueryDays.php @@ -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