aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/request/request.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/request/request.php b/phpBB/includes/request/request.php
index 25410c27c4..94445f232c 100644
--- a/phpBB/includes/request/request.php
+++ b/phpBB/includes/request/request.php
@@ -289,7 +289,8 @@ class phpbb_request implements phpbb_request_interface
*
* @param string $form_name The name of the file input form element
*
- * @return array The uploaded file's information
+ * @return array The uploaded file's information or an empty array if the
+ * variable does not exist in _FILES.
*/
public function file($form_name)
{