summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorRasmus Lerdorf <[email protected]>2013-05-07 00:35:10 -0700
committerRasmus Lerdorf <[email protected]>2013-05-07 00:35:10 -0700
commit6f7798b6434f5ef6073447998c436901b507e3df (patch)
tree0dfe18b247ee81f7dbd2f4df37631dcd040edef8 /install
parent2c967d60237c5890549b9c9fa680ee7adec10e6a (diff)
Fixing bugs found by static analysis
Diffstat (limited to 'install')
-rw-r--r--install/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/index.php b/install/index.php
index cd017f995..6cb2ace4f 100644
--- a/install/index.php
+++ b/install/index.php
@@ -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";