diff options
author | Fyorl <gaelreth@gmail.com> | 2012-08-15 17:03:15 +0100 |
---|---|---|
committer | Fyorl <gaelreth@gmail.com> | 2012-08-15 17:03:15 +0100 |
commit | 935e717762ccf9cad47058157933b4d372a57320 (patch) | |
tree | 875652501f34469e1bc9446c59203dcfb0e192f0 /phpBB/includes | |
parent | df86f466e0245669e5cf97a162378fb653c72422 (diff) | |
download | forums-935e717762ccf9cad47058157933b4d372a57320.tar forums-935e717762ccf9cad47058157933b4d372a57320.tar.gz forums-935e717762ccf9cad47058157933b4d372a57320.tar.bz2 forums-935e717762ccf9cad47058157933b4d372a57320.tar.xz forums-935e717762ccf9cad47058157933b4d372a57320.zip |
[ticket/10939] Modified the default return for $request->file
PHPBB3-10939
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/request/request.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/request/request.php b/phpBB/includes/request/request.php index 4fc9e67314..25410c27c4 100644 --- a/phpBB/includes/request/request.php +++ b/phpBB/includes/request/request.php @@ -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); } /** |