]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix typo in db_connect() (take two)
authorAndrew Dolgov <fox@bah.spb.su>
Wed, 14 Sep 2005 13:37:53 +0000 (14:37 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Wed, 14 Sep 2005 13:37:53 +0000 (14:37 +0100)
db.php

diff --git a/db.php b/db.php
index a2614cbcee0fb7cf5216ba9b62a0380ba70d6a6a..0ff7c783fb1f56f01f0e9a9a42c482cea3274515 100644 (file)
--- 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);