]> git.wh0rd.org - tt-rss.git/blobdiff - install/index.php
Fixing bugs found by static analysis
[tt-rss.git] / install / index.php
index cd017f99535d73f4790629defd3deca0a3902592..6cb2ace4f370c8b5e0788354c5fd9a66b5e04893 100644 (file)
@@ -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";