diff --git a/apps/dav/lib/CalDAV/CalDavBackend.php b/apps/dav/lib/CalDAV/CalDavBackend.php index 7fe18cd865..830f877468 100644 --- a/apps/dav/lib/CalDAV/CalDavBackend.php +++ b/apps/dav/lib/CalDAV/CalDavBackend.php @@ -1431,7 +1431,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