summaryrefslogtreecommitdiff
path: root/app/Formatter
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-02-20 15:08:18 -0500
committerFrederic Guillot <fred@kanboard.net>2016-02-20 15:08:18 -0500
commitfc468088c3b39bc4e9d185683442db1d36b61e23 (patch)
tree6f5b6a1e13f528a8f54ac502ab428feadc53e5f5 /app/Formatter
parent83832522867d06241441c04d2b3237200db57224 (diff)
Split Board model into multiple classes
Diffstat (limited to 'app/Formatter')
-rw-r--r--app/Formatter/TaskFilterGanttFormatter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Formatter/TaskFilterGanttFormatter.php b/app/Formatter/TaskFilterGanttFormatter.php
index 08059d4c..a4eef1ee 100644
--- a/app/Formatter/TaskFilterGanttFormatter.php
+++ b/app/Formatter/TaskFilterGanttFormatter.php
@@ -47,7 +47,7 @@ class TaskFilterGanttFormatter extends TaskFilter implements FormatterInterface
private function formatTask(array $task)
{
if (! isset($this->columns[$task['project_id']])) {
- $this->columns[$task['project_id']] = $this->board->getColumnsList($task['project_id']);
+ $this->columns[$task['project_id']] = $this->column->getList($task['project_id']);
}
$start = $task['date_started'] ?: time();