mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
[ticket/9771] Remove query string parameters that have no name.
PHPBB3-9771
This commit is contained in:
@@ -2519,6 +2519,11 @@ function build_url($strip_vars = false)
|
|||||||
$key = $arguments[0];
|
$key = $arguments[0];
|
||||||
unset($arguments[0]);
|
unset($arguments[0]);
|
||||||
|
|
||||||
|
if ($key === '')
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
$query[$key] = implode('=', $arguments);
|
$query[$key] = implode('=', $arguments);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user