diff --git a/phpBB/phpbb/path_helper.php b/phpBB/phpbb/path_helper.php index cbb9c72f44..f770cb560d 100644 --- a/phpBB/phpbb/path_helper.php +++ b/phpBB/phpbb/path_helper.php @@ -300,10 +300,7 @@ class path_helper // Strip the parameters off foreach ($strip as $param) { - if (isset($params[$param])) - { - unset($params[$param]); - } + unset($params[$param]); } }