mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:55:56 +00:00
Fixing bugs found by static analysis
This commit is contained in:
@@ -89,7 +89,7 @@
|
||||
<span><img src=\"../images/sign_info.svg\"></span><span>$msg</span></div>";
|
||||
}
|
||||
|
||||
function db_connect($host, $user, $pass, $db, $type, $port) {
|
||||
function db_connect($host, $user, $pass, $db, $type, $port = false) {
|
||||
if ($type == "pgsql") {
|
||||
|
||||
$string = "dbname=$db user=$user";
|
||||
|
||||
Reference in New Issue
Block a user