1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 12:03:21 +01:00

[ticket/13280] Remove unneeded str_replace in build_url()

PHPBB3-13280
This commit is contained in:
Marc Alexander 2014-11-06 13:45:09 +01:00
parent 32881dbe31
commit f432193e07

View File

@ -2397,7 +2397,7 @@ function build_url($strip_vars = false)
global $config, $user, $phpbb_path_helper;
$php_ext = $phpbb_path_helper->get_php_ext();
$page = str_replace('&', '&', $user->page['page']);
$page = $user->page['page'];
// We need to be cautious here.
// On some situations, the redirect path is an absolute URL, sometimes a relative path