mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/13280] Remove unneeded str_replace in build_url()
PHPBB3-13280
This commit is contained in:
parent
32881dbe31
commit
f432193e07
1 changed files with 1 additions and 1 deletions
|
@ -2397,7 +2397,7 @@ function build_url($strip_vars = false)
|
||||||
global $config, $user, $phpbb_path_helper;
|
global $config, $user, $phpbb_path_helper;
|
||||||
|
|
||||||
$php_ext = $phpbb_path_helper->get_php_ext();
|
$php_ext = $phpbb_path_helper->get_php_ext();
|
||||||
$page = str_replace('&', '&', $user->page['page']);
|
$page = $user->page['page'];
|
||||||
|
|
||||||
// We need to be cautious here.
|
// We need to be cautious here.
|
||||||
// On some situations, the redirect path is an absolute URL, sometimes a relative path
|
// On some situations, the redirect path is an absolute URL, sometimes a relative path
|
||||||
|
|
Loading…
Add table
Reference in a new issue