1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-11 17:14:07 +02:00
This commit is contained in:
Jakub Vrana
2010-08-03 15:08:14 +02:00
parent c5a1a7707c
commit 0724febb7e

View File

@@ -45,7 +45,7 @@ if (isset($_GET["pgsql"])) {
if ($database == DB) {
return $this->_database;
}
$return = @pg_connect($this->_connection . " dbname='" . addcslashes($database, "'\\") . "'", PGSQL_CONNECT_FORCE_NEW);
$return = @pg_connect("$this->_string dbname='" . addcslashes($database, "'\\") . "'", PGSQL_CONNECT_FORCE_NEW);
if ($return) {
$this->_link = $return;
}