Commit caf4810d authored by Franco Fichtner's avatar Franco Fichtner

interfaces: fix redirect after apply

parent 3fd2ab44
......@@ -223,6 +223,8 @@ function print_info_box_apply($msg)
$savebutton .= '<input name="' . $name . '" type="submit" class="btn btn-primary pull-right" id="' . $name . '" value="' . $value . '" />';
if (!empty($_POST['if'])) {
$savebutton .= '<input type="hidden" name="if" value="' . htmlspecialchars($_POST['if']) . '" />';
} elseif (!empty($_GET['if'])) {
$savebutton .= '<input type="hidden" name="if" value="' . htmlspecialchars($_GET['if']) . '" />';
}
$savebutton .= '</form>';
......
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