diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-10-03 04:53:23 +0400 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-10-03 04:53:23 +0400 |
commit | fe4f5fb801c055ebf53591065b2734d7e3fdbc25 (patch) | |
tree | 5d0491f0e3b0ea00ae6e9f33591c541a305eb03c /core/Http.php | |
parent | 602c48454b0fbb515b20987bb1480133d3effcfd (diff) |
Bugfix in Piwik\Http
Diffstat (limited to 'core/Http.php')
-rw-r--r-- | core/Http.php | 2 |
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']; |