1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-18 06:38:43 +01:00

[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
This commit is contained in:
Zoddo 2015-09-13 13:32:24 +02:00
parent c166adf3c7
commit 97118a897a

View File

@ -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',
);