diff options
author | dartcafe <github@dartcafe.de> | 2020-01-05 20:50:22 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-03-22 14:24:13 +0100 |
commit | 65c591093ef34b7de1fe3f33c19a0a1482fad015 (patch) | |
tree | 5e10c8aea30b39f9a0d464a0750ab29295a1f722 /apps/dav | |
parent | 019ba27943a44a5c3b80ffac02c5568ee47af6cc (diff) | |
download | nextcloud-server-65c591093ef34b7de1fe3f33c19a0a1482fad015.tar.gz nextcloud-server-65c591093ef34b7de1fe3f33c19a0a1482fad015.zip |
fix OCA\DAV\CalDAV\CalDavBackend search $options
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'apps/dav')
-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 37dbb3c3f5d..0c71b4b386a 100644 --- a/apps/dav/lib/CalDAV/CalDavBackend.php +++ b/apps/dav/lib/CalDAV/CalDavBackend.php @@ -1553,12 +1553,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()))); } } |