Wiz. Added option url to printGoBackButton

Former-commit-id: fd0c76ce5efef9902cbda2817b13e59e6672c972
This commit is contained in:
fbsanchez 2019-02-20 10:58:56 +01:00
parent e9d97e8010
commit 65db8482c1
1 changed files with 4 additions and 4 deletions

View File

@ -405,15 +405,15 @@ class Wizard
public function printGoBackButton($url)
{
if (isset($url) === false) {
$url = 'index.php?sec=gservers&sec2=godmode/servers/discovery';
$url = ui_get_full_url(
'index.php?sec=gservers&sec2=godmode/servers/discovery'
);
}
$form = [
'form' => [
'method' => 'POST',
'action' => ui_get_full_url(
$url
),
'action' => $url,
],
'inputs' => [
[