aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/request
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2012-09-08 14:07:06 +0200
committerAndreas Fischer <bantu@phpbb.com>2012-09-08 14:07:06 +0200
commit798033075ba0bbef8f43c542ca05aae776747917 (patch)
treec026de14d169487b46b9669644adfa9216572486 /phpBB/includes/request
parent160c49351b5ce7d2d811a388a4630ec37258bb8f (diff)
downloadforums-798033075ba0bbef8f43c542ca05aae776747917.tar
forums-798033075ba0bbef8f43c542ca05aae776747917.tar.gz
forums-798033075ba0bbef8f43c542ca05aae776747917.tar.bz2
forums-798033075ba0bbef8f43c542ca05aae776747917.tar.xz
forums-798033075ba0bbef8f43c542ca05aae776747917.zip
[ticket/8713] Always trim array keys.
PHPBB3-8713
Diffstat (limited to 'phpBB/includes/request')
-rw-r--r--phpBB/includes/request/type_cast_helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/request/type_cast_helper.php b/phpBB/includes/request/type_cast_helper.php
index d3b94aac5a..3039647bfa 100644
--- a/phpBB/includes/request/type_cast_helper.php
+++ b/phpBB/includes/request/type_cast_helper.php
@@ -184,7 +184,7 @@ class phpbb_request_type_cast_helper implements phpbb_request_type_cast_helper_i
foreach ($_var as $k => $v)
{
- $this->set_var($k, $k, $key_type, $multibyte, $trim);
+ $this->set_var($k, $k, $key_type, $multibyte);
$this->recursive_set_var($v, $default_value, $multibyte, $trim);
$var[$k] = $v;