From 73b0e76a8cff0a414da64888e00d4dfe84a90d79 Mon Sep 17 00:00:00 2001 From: nhirokinet Date: Sun, 3 Sep 2017 23:51:49 +0900 Subject: [PATCH] not to backquote LIMIT on CalDavBackend.php --- apps/dav/lib/CalDAV/CalDavBackend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dav/lib/CalDAV/CalDavBackend.php b/apps/dav/lib/CalDAV/CalDavBackend.php index 631593974e..56c10aef0d 100644 --- a/apps/dav/lib/CalDAV/CalDavBackend.php +++ b/apps/dav/lib/CalDAV/CalDavBackend.php @@ -1266,7 +1266,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription $query = "SELECT `uri`, `operation` FROM `*PREFIX*calendarchanges` WHERE `synctoken` >= ? AND `synctoken` < ? AND `calendarid` = ? ORDER BY `synctoken`"; if ($limit>0) { - $query.= " `LIMIT` " . (int)$limit; + $query.= " LIMIT " . (int)$limit; } // Fetching all changes