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