fix typo in db_connect() (take two)

This commit is contained in:
Andrew Dolgov 2005-09-14 14:37:53 +01:00
parent 6effd45248
commit 387e6b413a
1 changed files with 1 additions and 1 deletions

2
db.php
View File

@ -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);