From: Roland Häder Date: Sun, 22 Jul 2018 13:19:48 +0000 (+0200) Subject: Initialize `$port` with zero value (int) and not `false` (bool). X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f2cda6aa6625d5c1ffc8fabe47eb69b066cc07ee;p=friendica.git Initialize `$port` with zero value (int) and not `false` (bool). --- diff --git a/src/Database/DBA.php b/src/Database/DBA.php index fa9d86bb0f..a2f21daba5 100644 --- a/src/Database/DBA.php +++ b/src/Database/DBA.php @@ -51,7 +51,7 @@ class DBA self::$db_name = $db; self::$db_charset = $charset; - $port = false; + $port = 0; $serveraddr = trim($serveraddr); $serverdata = explode(':', $serveraddr);