summaryrefslogtreecommitdiff
path: root/controllers/task.php
diff options
context:
space:
mode:
authorFrédéric Guillot <contact@fredericguillot.com>2014-02-22 13:37:06 -0500
committerFrédéric Guillot <contact@fredericguillot.com>2014-02-22 13:37:06 -0500
commita1923d3d7f9276e859d6fd6bee339f0ea00f6544 (patch)
tree84caca943de5d0e016455ea2f6896d0b697fdf05 /controllers/task.php
parentfd28d50597d4f255ba9514e0fc03c8cb67c86f22 (diff)
Add a page to display completed tasks and add the completion date column for tasks
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.'));