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

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