From: Andrew Dolgov Date: Wed, 14 Sep 2005 13:36:14 +0000 (+0100) Subject: fix typo in db_connect() X-Git-Tag: 1.0.5~10 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=6effd452486074b0826ae94482d7f7f520f20c84;p=tt-rss.git fix typo in db_connect() --- diff --git a/db.php b/db.php index 8614436b..a2614cbc 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);