not to backquote LIMIT on CalDavBackend.php
This commit is contained in:
parent
0f71e3fba2
commit
baba99a7e6
|
@ -1437,7 +1437,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
|
||||||
|
|
||||||
$query = "SELECT `uri`, `operation` FROM `*PREFIX*calendarchanges` WHERE `synctoken` >= ? AND `synctoken` < ? AND `calendarid` = ? ORDER BY `synctoken`";
|
$query = "SELECT `uri`, `operation` FROM `*PREFIX*calendarchanges` WHERE `synctoken` >= ? AND `synctoken` < ? AND `calendarid` = ? ORDER BY `synctoken`";
|
||||||
if ($limit>0) {
|
if ($limit>0) {
|
||||||
$query.= " `LIMIT` " . (int)$limit;
|
$query.= " LIMIT " . (int)$limit;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fetching all changes
|
// Fetching all changes
|
||||||
|
|
Loading…
Reference in New Issue