mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-12 12:46:38 +02:00
[ticket/12079] Add default value to $multibyte in request.untrimmed_variable().
PHPBB3-12079
This commit is contained in:
@ -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
|
* @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.
|
* 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);
|
return $this->_variable($var_name, $default, $multibyte, $super_global, false);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user