summaryrefslogtreecommitdiff
path: root/app/Controller/Base.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-09-20 14:49:31 +0200
committerFrédéric Guillot <fred@kanboard.net>2014-09-20 14:49:31 +0200
commit41e796c52aa693d13636b54efe15705eaec27f3f (patch)
treebc670e457e98c1d8a9ac8e2b82bf8e2c424af328 /app/Controller/Base.php
parent00cdc609d113fedf977da1d55136dc4d699fb308 (diff)
Models refactoring/improvements
Diffstat (limited to 'app/Controller/Base.php')
-rw-r--r--app/Controller/Base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Base.php b/app/Controller/Base.php
index cc180158..8f822f3d 100644
--- a/app/Controller/Base.php
+++ b/app/Controller/Base.php
@@ -269,7 +269,7 @@ abstract class Base
*/
protected function getTask()
{
- $task = $this->task->getById($this->request->getIntegerParam('task_id'), true);
+ $task = $this->task->getDetails($this->request->getIntegerParam('task_id'));
if (! $task) {
$this->notfound();