summaryrefslogtreecommitdiff
path: root/app/Controller/TaskStatusController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/TaskStatusController.php')
-rw-r--r--app/Controller/TaskStatusController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/TaskStatusController.php b/app/Controller/TaskStatusController.php
index 98ab4e1e..82b4f9c4 100644
--- a/app/Controller/TaskStatusController.php
+++ b/app/Controller/TaskStatusController.php
@@ -46,7 +46,7 @@ class TaskStatusController extends BaseController
if ($this->request->getStringParam('confirmation') === 'yes') {
$this->checkCSRFParam();
- if ($this->taskStatus->$method($task['id'])) {
+ if ($this->taskStatusModel->$method($task['id'])) {
$this->flash->success($success_message);
} else {
$this->flash->failure($failure_message);