diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-10-08 09:55:31 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-10-08 09:55:31 -0400 |
commit | cbe606cef560a711f6ae440720a80c37cecc4ea8 (patch) | |
tree | dd2a4c14a32a80791fff982d7834dcacc33ea124 /app/Controller/TaskGanttCreationController.php | |
parent | fe56fd66f49ecd2dc40d2983fa4622a14226aefd (diff) |
Always apply merge hooks in task creation controller
Diffstat (limited to 'app/Controller/TaskGanttCreationController.php')
-rw-r--r-- | app/Controller/TaskGanttCreationController.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Controller/TaskGanttCreationController.php b/app/Controller/TaskGanttCreationController.php index 0fbac8bb..c5046f60 100644 --- a/app/Controller/TaskGanttCreationController.php +++ b/app/Controller/TaskGanttCreationController.php @@ -23,10 +23,10 @@ class TaskGanttCreationController extends BaseController $project = $this->getProject(); $values = $values + array( - 'project_id' => $project['id'], - 'column_id' => $this->columnModel->getFirstColumnId($project['id']), - 'position' => 1 - ); + 'project_id' => $project['id'], + 'column_id' => $this->columnModel->getFirstColumnId($project['id']), + 'position' => 1 + ); $values = $this->hook->merge('controller:task:form:default', $values, array('default_values' => $values)); $values = $this->hook->merge('controller:gantt:task:form:default', $values, array('default_values' => $values)); |