mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
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().
This commit is contained in:
commit
02336d9a69
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
|
* @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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue