mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Merge branch 'ticket/cs278/9771' into develop-olympus
* ticket/cs278/9771: [ticket/9771] Remove query string parameters that have no name.
This commit is contained in:
commit
64e6faa877
1 changed files with 5 additions and 0 deletions
|
@ -2519,6 +2519,11 @@ function build_url($strip_vars = false)
|
|||
$key = $arguments[0];
|
||||
unset($arguments[0]);
|
||||
|
||||
if ($key === '')
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
$query[$key] = implode('=', $arguments);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue