mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/10939] Modified the default return for $request->file
PHPBB3-10939
This commit is contained in:
parent
df86f466e0
commit
935e717762
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ class phpbb_request implements phpbb_request_interface
|
||||||
*/
|
*/
|
||||||
public function file($form_name)
|
public function file($form_name)
|
||||||
{
|
{
|
||||||
return $this->variable($form_name, array(), false, phpbb_request_interface::FILES);
|
return $this->variable($form_name, array('name' => 'none'), false, phpbb_request_interface::FILES);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue