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