fix typo in db_connect()

This commit is contained in:
Andrew Dolgov 2005-09-14 14:36:14 +01:00
parent 6b3bce8abb
commit 6effd45248
1 changed files with 1 additions and 2 deletions

3
db.php
View File

@ -8,8 +8,7 @@ function db_connect($host, $user, $pass, $db) {
$string = "dbname=$db user=$user password=$pass";
if ($host) {
$stripng .= "host=$host";
$string .= "host=$host";
}
return pg_connect($string);