Skip to content
This repository has been archived by the owner on Jan 30, 2022. It is now read-only.

Commit

Permalink
[ticket/14161] Wrong var name for core.download_file_send_to_browser_…
Browse files Browse the repository at this point in the history
…before

`extension` must be `extensions`

Introduced in fix of PHPBB3-14101 (PR phpbbGH-3831)

PHPBB3-14161
  • Loading branch information
Zoddo committed Oct 11, 2015
1 parent c166adf commit 97118a8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions phpBB/download/file.php
Expand Up @@ -258,17 +258,18 @@
* @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',
);
Expand Down

0 comments on commit 97118a8

Please sign in to comment.