mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 23:37:39 +02:00
[ticket/11508] Remove unnecessary isset check.
PHPBB3-11508
This commit is contained in:
@@ -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) : '');
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user