fix OCA\DAV\CalDAV\CalDavBackend search $options
Signed-off-by: dartcafe <github@dartcafe.de>
This commit is contained in:
parent
d72927da67
commit
45d9d9e003
|
@ -1552,12 +1552,12 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
|
|||
if (isset($options['timerange'])) {
|
||||
if (isset($options['timerange']['start'])) {
|
||||
$outerQuery->andWhere($outerQuery->expr()->gt('lastoccurence',
|
||||
$outerQuery->createNamedParameter($options['timerange']['start']->getTimeStamp)));
|
||||
$outerQuery->createNamedParameter($options['timerange']['start']->getTimeStamp())));
|
||||
|
||||
}
|
||||
if (isset($options['timerange']['end'])) {
|
||||
$outerQuery->andWhere($outerQuery->expr()->lt('firstoccurence',
|
||||
$outerQuery->createNamedParameter($options['timerange']['end']->getTimeStamp)));
|
||||
$outerQuery->createNamedParameter($options['timerange']['end']->getTimeStamp())));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue