From 3b2f499e7fd0f43aaddf1317459419700ccdf701 Mon Sep 17 00:00:00 2001 From: Joe Mattos Date: Fri, 15 Jan 2016 06:06:05 -0500 Subject: [PATCH] Fixed incorrect variables for PostgreSQL Support --- web/edit/server/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/edit/server/index.php b/web/edit/server/index.php index a47056991..073dc97b3 100644 --- a/web/edit/server/index.php +++ b/web/edit/server/index.php @@ -59,7 +59,7 @@ exec (VESTA_CMD."v-list-database-hosts pgsql json", $output, $return_var); $v_pgsql_hosts = json_decode(implode('', $output), true); unset($output); foreach ($v_pgsql_hosts as $key => $value) { - $v_psql = 'yes'; + $v_pgsql = 'yes'; } // List backup settings @@ -207,7 +207,7 @@ if (!empty($_POST['save'])) { // Update phpPgAdmin url if (empty($_SESSION['error_msg'])) { - if ($_POST['v_psql_url'] != $_SESSION['DB_PGA_URL']) { + if ($_POST['v_pgsql_url'] != $_SESSION['DB_PGA_URL']) { exec (VESTA_CMD."v-change-sys-config-value DB_PGA_URL '".escapeshellarg($_POST['v_pgsql_url'])."'", $output, $return_var); check_return_code($return_var,$output); unset($output);