Serghey Rodin 13 lat temu
rodzic
commit
cfbcf06fad
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      web/add/db/index.php

+ 1 - 1
web/add/db/index.php

@@ -64,7 +64,7 @@ if (!empty($_POST['ok'])) {
             unset($v_password);
             unset($output);
         }
-        if ((!empty($v_db_email)) && ($return_var != 0)) {
+        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/";