summaryrefslogtreecommitdiff
path: root/controllers/task.php
diff options
context:
space:
mode:
Diffstat (limited to 'controllers/task.php')
-rw-r--r--controllers/task.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/controllers/task.php b/controllers/task.php
index b30758b6..79f2c7d0 100644
--- a/controllers/task.php
+++ b/controllers/task.php
@@ -188,7 +188,7 @@ class Task extends Base
{
$task = $this->task->getById($this->request->getIntegerParam('task_id'));
- if ($task && $this->task->close($task['id'])) {
+ if ($task && $this->task->open($task['id'])) {
$this->session->flash(t('Task opened successfully.'));
} else {
$this->session->flashError(t('Unable to open this task.'));