summaryrefslogtreecommitdiff
path: root/app/Controller/TaskCreationController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/TaskCreationController.php')
-rw-r--r--app/Controller/TaskCreationController.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/Controller/TaskCreationController.php b/app/Controller/TaskCreationController.php
index c754b029..ec53e211 100644
--- a/app/Controller/TaskCreationController.php
+++ b/app/Controller/TaskCreationController.php
@@ -29,6 +29,9 @@ class TaskCreationController extends BaseController
$values = $this->prepareValues($swimlanes_list);
}
+ $values = $this->hook->merge('controller:task:form:default', $values, array('default_values' => $values));
+ $values = $this->hook->merge('controller:task-creation:form:default', $values, array('default_values' => $values));
+
$this->response->html($this->template->render('task_creation/show', array(
'project' => $project,
'errors' => $errors,
@@ -125,8 +128,6 @@ class TaskCreationController extends BaseController
'owner_id' => $this->userSession->getId(),
);
- $values = $this->hook->merge('controller:task:form:default', $values, array('default_values' => $values));
- $values = $this->hook->merge('controller:task-creation:form:default', $values, array('default_values' => $values));
return $values;
}