From 41e796c52aa693d13636b54efe15705eaec27f3f Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sat, 20 Sep 2014 14:49:31 +0200 Subject: Models refactoring/improvements --- app/Controller/Base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controller/Base.php') 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(); -- cgit v1.2.3