mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-13 20:28:44 +01: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
@ -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…
x
Reference in New Issue
Block a user