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"])) {
Html::back();
} else if (isset($_GET['_in_modal'])) {
Html::popHeader(Budget::getTypeName(1), $_SERVER['PHP_SELF']);
$project->showForm($_GET["id"], ['withtemplate' => $_GET["withtemplate"]]);
Html::popHeader(ProjectTask::getTypeName(1), $_SERVER['PHP_SELF']);
$task->showForm($_GET["id"], ['withtemplate' => $_GET["withtemplate"]]);
Html::popFooter();
} 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