aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/request
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2013-12-19 19:07:45 -0800
committerCesar G <prototech91@gmail.com>2013-12-19 19:09:40 -0800
commitcd98dba0b97e717d7254387e8a02c9f4edaf0feb (patch)
treeed56d52ccc975e678d32e95cf90116c9918b2e8e /phpBB/phpbb/request
parente3e34add7f725457b2a6e4809bbfdd6fa576203d (diff)
downloadforums-cd98dba0b97e717d7254387e8a02c9f4edaf0feb.tar
forums-cd98dba0b97e717d7254387e8a02c9f4edaf0feb.tar.gz
forums-cd98dba0b97e717d7254387e8a02c9f4edaf0feb.tar.bz2
forums-cd98dba0b97e717d7254387e8a02c9f4edaf0feb.tar.xz
forums-cd98dba0b97e717d7254387e8a02c9f4edaf0feb.zip
[ticket/12079] Add default value to $multibyte in request.untrimmed_variable().
PHPBB3-12079
Diffstat (limited to 'phpBB/phpbb/request')
-rw-r--r--phpBB/phpbb/request/request.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/request/request.php b/phpBB/phpbb/request/request.php
index e158d33c01..3171a6edb7 100644
--- a/phpBB/phpbb/request/request.php
+++ b/phpBB/phpbb/request/request.php
@@ -217,7 +217,7 @@ class request implements \phpbb\request\request_interface
* @return mixed The value of $_REQUEST[$var_name] run through {@link set_var set_var} to ensure that the type is the
* the same as that of $default. If the variable is not set $default is returned.
*/
- public function untrimmed_variable($var_name, $default, $multibyte, $super_global = \phpbb\request\request_interface::REQUEST)
+ public function untrimmed_variable($var_name, $default, $multibyte = false, $super_global = \phpbb\request\request_interface::REQUEST)
{
return $this->_variable($var_name, $default, $multibyte, $super_global, false);
}