mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/10939] Modified the default return for $request->file
PHPBB3-10939
This commit is contained in:
@@ -293,7 +293,7 @@ class phpbb_request implements phpbb_request_interface
|
||||
*/
|
||||
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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user