summaryrefslogtreecommitdiff
path: root/app/Model/SubtaskHistory.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model/SubtaskHistory.php')
-rw-r--r--app/Model/SubtaskHistory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/SubtaskHistory.php b/app/Model/SubtaskHistory.php
index bbf6ce3d..89076261 100644
--- a/app/Model/SubtaskHistory.php
+++ b/app/Model/SubtaskHistory.php
@@ -105,7 +105,7 @@ class SubtaskHistory extends BaseHistory
LEFT JOIN users AS assignees ON assignees.id=task_has_subtasks.user_id
WHERE subtask_has_events.project_id = ?
ORDER BY subtask_has_events.id DESC
- LIMIT 0, '.$limit.'
+ LIMIT '.$limit.' OFFSET 0
';
$rq = $this->db->execute($sql, array($project_id));