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/Task.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controller/Task.php') diff --git a/app/Controller/Task.php b/app/Controller/Task.php index 5de25a0e..eddb61d5 100644 --- a/app/Controller/Task.php +++ b/app/Controller/Task.php @@ -60,7 +60,7 @@ class Task extends Base $this->forbidden(true); } - $task = $this->task->getById($this->request->getIntegerParam('task_id'), true); + $task = $this->task->getDetails($this->request->getIntegerParam('task_id')); if (! $task) { $this->notfound(true); -- cgit v1.2.3