Commit 576792ae authored by Cédric Anne's avatar Cédric Anne Committed by Johan Cwiklinski

Fix project task in modal context

parent 91ecc044
...@@ -83,8 +83,8 @@ if (isset($_POST["add"])) { ...@@ -83,8 +83,8 @@ if (isset($_POST["add"])) {
Html::back(); Html::back();
} else if (isset($_GET['_in_modal'])) { } else if (isset($_GET['_in_modal'])) {
Html::popHeader(Budget::getTypeName(1), $_SERVER['PHP_SELF']); Html::popHeader(ProjectTask::getTypeName(1), $_SERVER['PHP_SELF']);
$project->showForm($_GET["id"], ['withtemplate' => $_GET["withtemplate"]]); $task->showForm($_GET["id"], ['withtemplate' => $_GET["withtemplate"]]);
Html::popFooter(); Html::popFooter();
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment