mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
[ticket/12079] Add default value to $multibyte in request.untrimmed_variable().
PHPBB3-12079
This commit is contained in:
parent
e3e34add7f
commit
cd98dba0b9
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue