diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-09-10 16:51:44 +0200 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-09-10 16:51:44 +0200 |
commit | cede5d5434e4e50145daf2413c962a335c13cc99 (patch) | |
tree | 2e967e7c95884f9cbab880ff7aedc72466e9d47a /app/Model/TaskHistory.php | |
parent | 28ff8dad91c9e3c25f6a3b5398ae15f2a1ef95cd (diff) |
Fix Mysql and Postgresql bug
Diffstat (limited to 'app/Model/TaskHistory.php')
-rw-r--r-- | app/Model/TaskHistory.php | 2 |
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)); |