[ticket/11508] Remove unnecessary isset check.

PHPBB3-11508
This commit is contained in:
Cesar G 2014-03-19 21:55:10 -07:00
parent 141d386025
commit b0dd532c14

View file

@ -299,13 +299,10 @@ class path_helper
{ {
// Strip the parameters off // Strip the parameters off
foreach ($strip as $param) foreach ($strip as $param)
{
if (isset($params[$param]))
{ {
unset($params[$param]); unset($params[$param]);
} }
} }
}
return $url_parts['base'] . (($params) ? '?' . $this->glue_url_params($params) : ''); return $url_parts['base'] . (($params) ? '?' . $this->glue_url_params($params) : '');
} }