Models refactoring/improvements
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user