From b0dd532c14830b6c92dee8f10cec14c3057369a9 Mon Sep 17 00:00:00 2001 From: Cesar G Date: Wed, 19 Mar 2014 21:55:10 -0700 Subject: [ticket/11508] Remove unnecessary isset check. PHPBB3-11508 --- phpBB/phpbb/path_helper.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'phpBB/phpbb') 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]); } } -- cgit v1.2.1