Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/Tracker/Db/Mysqli.php')
-rw-r--r--core/Tracker/Db/Mysqli.php2
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'];