Browse Source

fix for fix #64 ..

Serghey Rodin 13 năm trước cách đây
mục cha
commit
cfbcf06fad
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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($v_password);
             unset($output);
             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"]);
             list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"]);
             if ($_POST['v_type'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/";
             if ($_POST['v_type'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/";
             if ($_POST['v_type'] == 'pgsql') $db_admin_link = "http://".$http_host."/phpPgAdmin/";
             if ($_POST['v_type'] == 'pgsql') $db_admin_link = "http://".$http_host."/phpPgAdmin/";