[ticket/10939] Modified the default return for $request->file

PHPBB3-10939
This commit is contained in:
Fyorl 2012-08-15 17:03:15 +01:00
parent df86f466e0
commit 935e717762

View file

@ -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);
}
/**