aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-11-06 13:45:09 +0100
committerMarc Alexander <admin@m-a-styles.de>2014-11-06 13:45:09 +0100
commitf432193e0789f0182741d1b4a38a8c4cd86dfba4 (patch)
tree41c5955e720b462173e78fed5c18c18057e0b62b
parent32881dbe31a945b6d2449a3f7e1bf7c5e73cd0a6 (diff)
downloadforums-f432193e0789f0182741d1b4a38a8c4cd86dfba4.tar
forums-f432193e0789f0182741d1b4a38a8c4cd86dfba4.tar.gz
forums-f432193e0789f0182741d1b4a38a8c4cd86dfba4.tar.bz2
forums-f432193e0789f0182741d1b4a38a8c4cd86dfba4.tar.xz
forums-f432193e0789f0182741d1b4a38a8c4cd86dfba4.zip
[ticket/13280] Remove unneeded str_replace in build_url()
PHPBB3-13280
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index dc195cebb6..1a3560dbb1 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -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('&amp;', '&', $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