diff options
author | Cesar G <prototech91@gmail.com> | 2014-05-06 14:54:51 -0700 |
---|---|---|
committer | Cesar G <prototech91@gmail.com> | 2014-05-06 15:58:10 -0700 |
commit | eddb4203757366eef2afc81d53d948d3aaeed0c7 (patch) | |
tree | 8ca58901369ac2d6d37c351c82a4c3ed60d813a9 /phpBB/includes/functions.php | |
parent | 3c86a9bcca0301176d35ded3f4a8bf8c485f027f (diff) | |
download | forums-eddb4203757366eef2afc81d53d948d3aaeed0c7.tar forums-eddb4203757366eef2afc81d53d948d3aaeed0c7.tar.gz forums-eddb4203757366eef2afc81d53d948d3aaeed0c7.tar.bz2 forums-eddb4203757366eef2afc81d53d948d3aaeed0c7.tar.xz forums-eddb4203757366eef2afc81d53d948d3aaeed0c7.zip |
[ticket/12510] Convert & to & in build_url() when no params are stripped.
PHPBB3-12510
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 3480a338c0..a0e2a46f54 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2356,6 +2356,10 @@ function build_url($strip_vars = false) { $redirect = $phpbb_path_helper->strip_url_params($redirect, $strip_vars, false); } + else + { + $redirect = str_replace('&', '&', $redirect); + } return $redirect . ((strpos($redirect, '?') === false) ? '?' : ''); } |