Fix array to string conversion on event search
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
20524cff33
commit
732cf6b8d3
|
@ -1780,7 +1780,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
|
||||||
foreach ($searchParameters as $property => $parameter) {
|
foreach ($searchParameters as $property => $parameter) {
|
||||||
$parameterAnd = $calendarObjectIdQuery->expr()->andX();
|
$parameterAnd = $calendarObjectIdQuery->expr()->andX();
|
||||||
$parameterAnd->add($calendarObjectIdQuery->expr()->eq('cob.name', $calendarObjectIdQuery->createNamedParameter($property, IQueryBuilder::PARAM_STR)));
|
$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);
|
$searchOr->add($parameterAnd);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue