summaryrefslogtreecommitdiff
path: root/app/Controller/Taskmodification.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/Taskmodification.php')
-rw-r--r--app/Controller/Taskmodification.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controller/Taskmodification.php b/app/Controller/Taskmodification.php
index 5fcb810c..6b945f37 100644
--- a/app/Controller/Taskmodification.php
+++ b/app/Controller/Taskmodification.php
@@ -37,7 +37,7 @@ class Taskmodification extends Base
$values = array('id' => $task['id'], 'description' => $task['description']);
}
- $this->response->html($this->helper->layout->task('task_modification/edit_description', array(
+ $this->response->html($this->template->render('task_modification/edit_description', array(
'values' => $values,
'errors' => $errors,
'task' => $task,
@@ -88,7 +88,7 @@ class Taskmodification extends Base
$values = $this->dateParser->format($values, array('date_due'), $this->config->get('application_date_format', DateParser::DATE_FORMAT));
$values = $this->dateParser->format($values, array('date_started'), $this->config->get('application_datetime_format', DateParser::DATE_TIME_FORMAT));
- $this->response->html($this->helper->layout->task('task_modification/edit_task', array(
+ $this->response->html($this->template->render('task_modification/edit_task', array(
'project' => $project,
'values' => $values,
'errors' => $errors,