aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2010-08-10 16:05:45 +0200
committerAndreas Fischer <bantu@phpbb.com>2010-08-10 16:05:45 +0200
commit64e6faa877af36f256da12d122e296f45706d359 (patch)
treee0412762df161d30e6ea5a3a23baf3ba188d68dc /phpBB
parent59a0bcd38fb277875b0149ea736bcdc43e2d33a2 (diff)
parent013f0b62b8094ac537dc5aa025d82d9cb59250f1 (diff)
downloadforums-64e6faa877af36f256da12d122e296f45706d359.tar
forums-64e6faa877af36f256da12d122e296f45706d359.tar.gz
forums-64e6faa877af36f256da12d122e296f45706d359.tar.bz2
forums-64e6faa877af36f256da12d122e296f45706d359.tar.xz
forums-64e6faa877af36f256da12d122e296f45706d359.zip
Merge branch 'ticket/cs278/9771' into develop-olympus
* ticket/cs278/9771: [ticket/9771] Remove query string parameters that have no name.
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/functions.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index bc3d721de5..4c461b5ee8 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -2519,6 +2519,11 @@ function build_url($strip_vars = false)
$key = $arguments[0];
unset($arguments[0]);
+ if ($key === '')
+ {
+ continue;
+ }
+
$query[$key] = implode('=', $arguments);
}