]> git.joonet.de Git - adminer.git/commitdiff
Typo
authorJakub Vrana <jakub@vrana.cz>
Tue, 3 Aug 2010 13:08:14 +0000 (15:08 +0200)
committerJakub Vrana <jakub@vrana.cz>
Tue, 3 Aug 2010 13:08:14 +0000 (15:08 +0200)
adminer/drivers/pgsql.inc.php

index 96526726d019d0ca95e5211b80d315765e0f3377..fb198a311fd12f80ebe6d06e2f333d3d1b1e9b4d 100644 (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;
                                }