From a1923d3d7f9276e859d6fd6bee339f0ea00f6544 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sat, 22 Feb 2014 13:37:06 -0500 Subject: Add a page to display completed tasks and add the completion date column for tasks --- controllers/task.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'controllers/task.php') 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.')); -- cgit v1.2.3