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