diff options
author | dartcafe <github@dartcafe.de> | 2020-01-05 20:50:22 +0100 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2020-03-26 18:41:24 +0100 |
commit | 6ce61594d6be1ba80c7f61e09c88fcfa509cbcaf (patch) | |
tree | 0d4de91bad4c5b24577741c85e05147e518aa1d7 | |
parent | 4b103f6d618bf1479a458d0eeb6cfe66742314a8 (diff) | |
download | nextcloud-server-6ce61594d6be1ba80c7f61e09c88fcfa509cbcaf.tar.gz nextcloud-server-6ce61594d6be1ba80c7f61e09c88fcfa509cbcaf.zip |
fix OCA\DAV\CalDAV\CalDavBackend search $options
Signed-off-by: dartcafe <github@dartcafe.de>
-rw-r--r-- | apps/dav/lib/CalDAV/CalDavBackend.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/CalDAV/CalDavBackend.php b/apps/dav/lib/CalDAV/CalDavBackend.php index bb2a38fe232..2d27629c4f4 100644 --- a/apps/dav/lib/CalDAV/CalDavBackend.php +++ b/apps/dav/lib/CalDAV/CalDavBackend.php @@ -1551,12 +1551,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()))); } } |