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:
authorMatthieu Napoli <matthieu@mnapoli.fr>2014-10-03 04:53:23 +0400
committerMatthieu Napoli <matthieu@mnapoli.fr>2014-10-03 04:53:23 +0400
commitfe4f5fb801c055ebf53591065b2734d7e3fdbc25 (patch)
tree5d0491f0e3b0ea00ae6e9f33591c541a305eb03c /core/Http.php
parent602c48454b0fbb515b20987bb1480133d3effcfd (diff)
Bugfix in Piwik\Http
Diffstat (limited to 'core/Http.php')
-rw-r--r--core/Http.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Http.php b/core/Http.php
index 16563ce617..3643fc8553 100644
--- a/core/Http.php
+++ b/core/Http.php
@@ -183,7 +183,7 @@ class Http
throw new Exception('Invalid protocol/scheme: ' . $url['scheme']);
}
$host = $url['host'];
- $port = isset($url['port)']) ? $url['port'] : 80;
+ $port = isset($url['port']) ? $url['port'] : 80;
$path = isset($url['path']) ? $url['path'] : '/';
if (isset($url['query'])) {
$path .= '?' . $url['query'];