From cea72528745099a6d5f498fd220aee43d55d8c1e Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 24 Sep 2020 13:52:24 +0200 Subject: Fix array to string conversion on event search Signed-off-by: Joas Schilling --- apps/dav/lib/CalDAV/CalDavBackend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/dav/lib/CalDAV/CalDavBackend.php b/apps/dav/lib/CalDAV/CalDavBackend.php index d0f88195e58..91326128721 100644 --- a/apps/dav/lib/CalDAV/CalDavBackend.php +++ b/apps/dav/lib/CalDAV/CalDavBackend.php @@ -1780,7 +1780,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription foreach ($searchParameters as $property => $parameter) { $parameterAnd = $calendarObjectIdQuery->expr()->andX(); $parameterAnd->add($calendarObjectIdQuery->expr()->eq('cob.name', $calendarObjectIdQuery->createNamedParameter($property, IQueryBuilder::PARAM_STR))); - $parameterAnd->add($calendarObjectIdQuery->expr()->eq('cob.parameter', $calendarObjectIdQuery->createNamedParameter($parameter, IQueryBuilder::PARAM_STR))); + $parameterAnd->add($calendarObjectIdQuery->expr()->eq('cob.parameter', $calendarObjectIdQuery->createNamedParameter($parameter, IQueryBuilder::PARAM_STR_ARRAY))); $searchOr->add($parameterAnd); } -- cgit v1.2.3