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