From: Andrew Dolgov Date: Wed, 14 Sep 2005 13:37:53 +0000 (+0100) Subject: fix typo in db_connect() (take two) X-Git-Tag: 1.0.5~9 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=387e6b413a6d1ab19f0ec645f89d9366ed80da64;p=tt-rss.git fix typo in db_connect() (take two) --- diff --git a/db.php b/db.php index a2614cbc..0ff7c783 100644 --- 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);