summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/Controller/Gantt.php2
-rw-r--r--app/Controller/Taskcreation.php2
-rw-r--r--app/Controller/Taskmodification.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/app/Controller/Gantt.php b/app/Controller/Gantt.php
index c8c8a8a3..5dbd1243 100644
--- a/app/Controller/Gantt.php
+++ b/app/Controller/Gantt.php
@@ -108,7 +108,7 @@ class Gantt extends Base
);
$values = $this->hook->merge('controller:task:form:default', $values, array('default_values' => $values));
- $values = $this->hook->merge('controller:task:form:gantt', $values, array('default_values' => $values));
+ $values = $this->hook->merge('controller:gantt:task:form:default', $values, array('default_values' => $values));
$this->response->html($this->template->render('gantt/task_creation', array(
'project' => $project,
diff --git a/app/Controller/Taskcreation.php b/app/Controller/Taskcreation.php
index 72f756df..f1ac7272 100644
--- a/app/Controller/Taskcreation.php
+++ b/app/Controller/Taskcreation.php
@@ -29,7 +29,7 @@ class Taskcreation extends Base
);
$values = $this->hook->merge('controller:task:form:default', $values, array('default_values' => $values));
- $values = $this->hook->merge('controller:task:form:task-creation', $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/form', array(
diff --git a/app/Controller/Taskmodification.php b/app/Controller/Taskmodification.php
index e3c59d44..306d34c0 100644
--- a/app/Controller/Taskmodification.php
+++ b/app/Controller/Taskmodification.php
@@ -80,7 +80,7 @@ class Taskmodification extends Base
if (empty($values)) {
$values = $task;
$values = $this->hook->merge('controller:task:form:default', $values, array('default_values' => $values));
- $values = $this->hook->merge('controller:task:form:task-modification', $values, array('default_values' => $values));
+ $values = $this->hook->merge('controller:task-modification:form:default', $values, array('default_values' => $values));
}
$values = $this->dateParser->format($values, array('date_due'), $this->config->get('application_date_format', 'm/d/Y'));