diff options
author | Chris Smith <toonarmy@phpbb.com> | 2010-08-08 16:14:05 +0100 |
---|---|---|
committer | Chris Smith <toonarmy@phpbb.com> | 2010-08-08 16:14:05 +0100 |
commit | 013f0b62b8094ac537dc5aa025d82d9cb59250f1 (patch) | |
tree | 28daf5a5fcad77a3a150ce357decada2c3bc7c1a /phpBB/includes/functions.php | |
parent | e1328e87ce23245dbd55a08fbaf3d48e957a6777 (diff) | |
download | forums-013f0b62b8094ac537dc5aa025d82d9cb59250f1.tar forums-013f0b62b8094ac537dc5aa025d82d9cb59250f1.tar.gz forums-013f0b62b8094ac537dc5aa025d82d9cb59250f1.tar.bz2 forums-013f0b62b8094ac537dc5aa025d82d9cb59250f1.tar.xz forums-013f0b62b8094ac537dc5aa025d82d9cb59250f1.zip |
[ticket/9771] Remove query string parameters that have no name.
PHPBB3-9771
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 5 |
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); } |