]> 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)
committerThomas Citharel <tcit@tcit.fr>
Thu, 26 Mar 2020 17:45:28 +0000 (18:45 +0100)
Signed-off-by: dartcafe <github@dartcafe.de>
apps/dav/lib/CalDAV/CalDavBackend.php

index 47d701fdaafa83139ebd937b1abebc0fd998d68a..38faeabbde3f50e05e2f7aac4d9e4a060aa3df6a 100644 (file)
@@ -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())));
                        }
                }