summaryrefslogtreecommitdiff
path: root/app/Model/TaskHistory.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model/TaskHistory.php')
-rw-r--r--app/Model/TaskHistory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/TaskHistory.php b/app/Model/TaskHistory.php
index 35b7cb27..af0b4cff 100644
--- a/app/Model/TaskHistory.php
+++ b/app/Model/TaskHistory.php
@@ -96,7 +96,7 @@ class TaskHistory extends BaseHistory
LEFT JOIN columns ON columns.id=tasks.column_id
WHERE task_has_events.project_id = ?
ORDER BY task_has_events.id DESC
- LIMIT 0, '.$limit.'
+ LIMIT '.$limit.' OFFSET 0
';
$rq = $this->db->execute($sql, array($project_id));