diff options
author | Vjacheslav Trushkin <cyberalien@gmail.com> | 2013-07-11 16:33:08 -0400 |
---|---|---|
committer | Vjacheslav Trushkin <cyberalien@gmail.com> | 2013-07-11 16:33:08 -0400 |
commit | 63f1d99cc8971100fed9a74b5ca3e0850c4edcb8 (patch) | |
tree | d5e32e5ad52443db208021eab74757d198923b3e /phpBB/includes/template/asset.php | |
parent | 4f3ce669f64156d666fee75800648f04fb8e4300 (diff) | |
download | forums-63f1d99cc8971100fed9a74b5ca3e0850c4edcb8.tar forums-63f1d99cc8971100fed9a74b5ca3e0850c4edcb8.tar.gz forums-63f1d99cc8971100fed9a74b5ca3e0850c4edcb8.tar.bz2 forums-63f1d99cc8971100fed9a74b5ca3e0850c4edcb8.tar.xz forums-63f1d99cc8971100fed9a74b5ca3e0850c4edcb8.zip |
[ticket/11647] Fix invalid variable name
PHPBB3-11647
Diffstat (limited to 'phpBB/includes/template/asset.php')
-rw-r--r-- | phpBB/includes/template/asset.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/phpBB/includes/template/asset.php b/phpBB/includes/template/asset.php index eae62f4db0..f3b18a102a 100644 --- a/phpBB/includes/template/asset.php +++ b/phpBB/includes/template/asset.php @@ -40,12 +40,11 @@ class phpbb_template_asset { // Workaround for PHP 5.4.6 and older bug #62844 - add fake scheme and then remove it $this->components = parse_url('http:' . $url); - if (isset($result['port'])) + if (isset($this->components['port'])) { return; } - unset($result['scheme']); - $this->components = $result; + unset($this->components['scheme']); return; } $this->components = parse_url($url); |