diff options
-rw-r--r-- | db.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,7 @@ function db_connect($host, $user, $pass, $db) { $string = "dbname=$db user=$user password=$pass"; if ($host) { - $string .= "host=$host"; + $string .= " host=$host"; } return pg_connect($string); |