aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/download
diff options
context:
space:
mode:
authorZoddo <zoddo.ino@gmail.com>2015-09-13 13:32:24 +0200
committerZoddo <zoddo.ino@gmail.com>2015-10-11 14:20:11 +0200
commit97118a897a40540f1068ec1eb91c7fd72889fa64 (patch)
tree8bbdb195da537a5debff26c886e811613434aa13 /phpBB/download
parentc166adf3c7e9e9bdb188c4b0eb434147fadb4c74 (diff)
downloadforums-97118a897a40540f1068ec1eb91c7fd72889fa64.tar
forums-97118a897a40540f1068ec1eb91c7fd72889fa64.tar.gz
forums-97118a897a40540f1068ec1eb91c7fd72889fa64.tar.bz2
forums-97118a897a40540f1068ec1eb91c7fd72889fa64.tar.xz
forums-97118a897a40540f1068ec1eb91c7fd72889fa64.zip
[ticket/14161] Wrong var name for core.download_file_send_to_browser_before
`extension` must be `extensions` Introduced in fix of PHPBB3-14101 (PR GH-3831) PHPBB3-14161
Diffstat (limited to 'phpBB/download')
-rw-r--r--phpBB/download/file.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/download/file.php b/phpBB/download/file.php
index 3e7965899f..56ea273d5c 100644
--- a/phpBB/download/file.php
+++ b/phpBB/download/file.php
@@ -258,17 +258,18 @@ else
* @var array attachment Array with attachment data
* @var int display_cat Attachment category
* @var int download_mode File extension specific download mode
- * @var array extension Array with file extensions data
+ * @var array extensions Array with file extensions data
* @var string mode Download mode
* @var bool thumbnail Flag indicating if the file is a thumbnail
* @since 3.1.6-RC1
+ * @change 3.1.7-RC1 Fixing wrong name of a variable (replacing "extension" by "extensions")
*/
$vars = array(
'attach_id',
'attachment',
'display_cat',
'download_mode',
- 'extension',
+ 'extensions',
'mode',
'thumbnail',
);