summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/db.php b/db.php
index a2614cbce..0ff7c783f 100644
--- a/db.php
+++ b/db.php
@@ -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);