mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 03:15:54 +00:00
fix typo in db_connect()
This commit is contained in:
3
db.php
3
db.php
@@ -8,8 +8,7 @@ function db_connect($host, $user, $pass, $db) {
|
|||||||
$string = "dbname=$db user=$user password=$pass";
|
$string = "dbname=$db user=$user password=$pass";
|
||||||
|
|
||||||
if ($host) {
|
if ($host) {
|
||||||
|
$string .= "host=$host";
|
||||||
$stripng .= "host=$host";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return pg_connect($string);
|
return pg_connect($string);
|
||||||
|
|||||||
Reference in New Issue
Block a user