Commit 06b77759 authored by Côme Bernigaud's avatar Côme Bernigaud
Browse files

Fixes #2919 Fixed the error message problem

parent 8bf6a6d9
......@@ -71,12 +71,6 @@ class setup
exit();
}
/* display step error msgs */
$msgs = $this->o_steps[$this->i_current]->check();
foreach ($msgs as $msg) {
msg_dialog::display(_("Setup error"), $msg, ERROR_DIALOG);
}
$smarty = get_smarty();
$smarty->assign('usePrototype', 'true');
$this->o_steps[$this->i_previous]->set_active(FALSE);
......@@ -113,6 +107,12 @@ class setup
}
}
/* display step error msgs */
$msgs = $this->o_steps[$this->i_current]->check();
foreach ($msgs as $msg) {
msg_dialog::display(_("Setup error"), $msg, ERROR_DIALOG);
}
/* Check if step was selected */
if (isset($_GET['step']) || isset($_POST['next']) || isset($_POST['last'])) {
......
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