diff --git a/web/add/db/index.php b/web/add/db/index.php index 16d555fe..e8ce8fd8 100644 --- a/web/add/db/index.php +++ b/web/add/db/index.php @@ -64,7 +64,7 @@ if (!empty($_POST['ok'])) { unset($v_password); unset($output); } - if (!empty($v_db_email)) { + if ((!empty($v_db_email)) && ($return_var != 0)) { list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"]); if ($_POST['v_type'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/"; if ($_POST['v_type'] == 'pgsql') $db_admin_link = "http://".$http_host."/phpPgAdmin/";