diff options
Diffstat (limited to 'core/Tracker/Db')
-rw-r--r-- | core/Tracker/Db/Mysqli.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Tracker/Db/Mysqli.php b/core/Tracker/Db/Mysqli.php index 737719e51f..66521b120b 100644 --- a/core/Tracker/Db/Mysqli.php +++ b/core/Tracker/Db/Mysqli.php @@ -46,7 +46,7 @@ class Mysqli extends Db $this->socket = $dbInfo['port']; } else { $this->host = $dbInfo['host']; - $this->port = $dbInfo['port']; + $this->port = (int)$dbInfo['port']; $this->socket = null; } $this->dbname = $dbInfo['dbname']; |