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;
}