mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11508] The question mark is expected even if there are no parameters.
PHPBB3-11508
This commit is contained in:
parent
47f8a6375f
commit
5e0ab146d9
1 changed files with 1 additions and 1 deletions
|
@ -2376,7 +2376,7 @@ function build_url($strip_vars = false)
|
|||
$redirect = $path_helper->strip_url_params($redirect, $strip_vars, false);
|
||||
}
|
||||
|
||||
return $redirect;
|
||||
return $redirect . ((strpos($redirect, '?') === false) ? '?' : '');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue