summaryrefslogtreecommitdiff
path: root/db.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-09-14 14:37:53 +0100
committerAndrew Dolgov <[email protected]>2005-09-14 14:37:53 +0100
commit387e6b413a6d1ab19f0ec645f89d9366ed80da64 (patch)
tree64277dc5303ef542bf4d5258c80f1675a4286235 /db.php
parent6effd452486074b0826ae94482d7f7f520f20c84 (diff)
fix typo in db_connect() (take two)
Diffstat (limited to 'db.php')
-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);