summaryrefslogtreecommitdiff
path: root/app/Controller/Task.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-03-10 22:11:30 -0400
committerFrederic Guillot <fred@kanboard.net>2015-03-10 22:11:30 -0400
commit788ef2bc07206c676a8ad3f1e27aed9669c703ff (patch)
treedd3b84194fdb6db7911f036637cce67f47858a65 /app/Controller/Task.php
parent900e3fa1fd0a41e1617cd42a83b34d4c39d1730f (diff)
parent5e5af86638d301658d3910b94c68e8a35f676c00 (diff)
Merge pull-request #699
Diffstat (limited to 'app/Controller/Task.php')
-rw-r--r--app/Controller/Task.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Controller/Task.php b/app/Controller/Task.php
index 741db61e..d94c5908 100644
--- a/app/Controller/Task.php
+++ b/app/Controller/Task.php
@@ -68,7 +68,8 @@ class Task extends Base
$this->response->html($this->taskLayout('task/show', array(
'project' => $this->project->getById($task['project_id']),
- 'files' => $this->file->getAll($task['id']),
+ 'files' => $this->file->getAllDocuments($task['id']),
+ 'images' => $this->file->getAllImages($task['id']),
'comments' => $this->comment->getAll($task['id']),
'subtasks' => $subtasks,
'links' => $this->taskLink->getLinks($task['id']),