]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix OCA\DAV\CalDAV\CalDavBackend search $options
authordartcafe <github@dartcafe.de>
Sun, 5 Jan 2020 19:50:22 +0000 (20:50 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Sun, 22 Mar 2020 13:24:13 +0000 (14:24 +0100)
Signed-off-by: dartcafe <github@dartcafe.de>
apps/dav/lib/CalDAV/CalDavBackend.php

index 37dbb3c3f5d2424879e886d73445ee1bd267c94c..0c71b4b386a311a9933f24c9acba4816661f139a 100644 (file)
@@ -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())));
                        }
                }