diff options
author | Joas Schilling <coding@schilljs.com> | 2020-09-24 13:52:24 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-09-24 13:52:24 +0200 |
commit | cea72528745099a6d5f498fd220aee43d55d8c1e (patch) | |
tree | 4cb6c6a4790d2ace17935b89a7806926d35fc771 /apps | |
parent | 7d0602792280f88af6867db0131d1bf8984b2c2c (diff) | |
download | nextcloud-server-cea72528745099a6d5f498fd220aee43d55d8c1e.tar.gz nextcloud-server-cea72528745099a6d5f498fd220aee43d55d8c1e.zip |
Fix array to string conversion on event search
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/lib/CalDAV/CalDavBackend.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |