diff options
| author | Andreas Fischer <bantu@phpbb.com> | 2013-12-21 19:24:21 +0100 |
|---|---|---|
| committer | Andreas Fischer <bantu@phpbb.com> | 2013-12-21 19:24:21 +0100 |
| commit | 02336d9a69eaab23ec03be2d9535ec9576dadf5a (patch) | |
| tree | 065007f27abfb25420ebb082dbdd1e83a64d9ce4 | |
| parent | 9f7985d7259eb3cf84515cd395a3cb339dc2acff (diff) | |
| parent | cd98dba0b97e717d7254387e8a02c9f4edaf0feb (diff) | |
| download | forums-02336d9a69eaab23ec03be2d9535ec9576dadf5a.tar forums-02336d9a69eaab23ec03be2d9535ec9576dadf5a.tar.gz forums-02336d9a69eaab23ec03be2d9535ec9576dadf5a.tar.bz2 forums-02336d9a69eaab23ec03be2d9535ec9576dadf5a.tar.xz forums-02336d9a69eaab23ec03be2d9535ec9576dadf5a.zip | |
Merge pull request #1940 from prototech/ticket/12079
[ticket/12079] Add default value to $multibyte in request.untrimmed_varible().
* prototech/ticket/12079:
[ticket/12079] Add default value to $multibyte in request.untrimmed_variable().
| -rw-r--r-- | phpBB/phpbb/request/request.php | 2 |
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); } |
