Skip to content

Commit 3b2f499

Browse files
committed
Fixed incorrect variables for PostgreSQL Support
1 parent 1689ea3 commit 3b2f499

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/edit/server/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
$v_pgsql_hosts = json_decode(implode('', $output), true);
6060
unset($output);
6161
foreach ($v_pgsql_hosts as $key => $value) {
62-
$v_psql = 'yes';
62+
$v_pgsql = 'yes';
6363
}
6464

6565
// List backup settings
@@ -207,7 +207,7 @@
207207

208208
// Update phpPgAdmin url
209209
if (empty($_SESSION['error_msg'])) {
210-
if ($_POST['v_psql_url'] != $_SESSION['DB_PGA_URL']) {
210+
if ($_POST['v_pgsql_url'] != $_SESSION['DB_PGA_URL']) {
211211
exec (VESTA_CMD."v-change-sys-config-value DB_PGA_URL '".escapeshellarg($_POST['v_pgsql_url'])."'", $output, $return_var);
212212
check_return_code($return_var,$output);
213213
unset($output);

0 commit comments

Comments
 (0)