aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2014-03-19 21:55:10 -0700
committerCesar G <prototech91@gmail.com>2014-04-22 15:21:02 -0700
commitb0dd532c14830b6c92dee8f10cec14c3057369a9 (patch)
treec621444e572d573e7e5e4f7e85135e82004bfe53
parent141d386025b8a47a787b95f82058cc3c766a4007 (diff)
downloadforums-b0dd532c14830b6c92dee8f10cec14c3057369a9.tar
forums-b0dd532c14830b6c92dee8f10cec14c3057369a9.tar.gz
forums-b0dd532c14830b6c92dee8f10cec14c3057369a9.tar.bz2
forums-b0dd532c14830b6c92dee8f10cec14c3057369a9.tar.xz
forums-b0dd532c14830b6c92dee8f10cec14c3057369a9.zip
[ticket/11508] Remove unnecessary isset check.
PHPBB3-11508
-rw-r--r--phpBB/phpbb/path_helper.php5
1 files changed, 1 insertions, 4 deletions
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]);
}
}