From 97118a897a40540f1068ec1eb91c7fd72889fa64 Mon Sep 17 00:00:00 2001 From: Zoddo Date: Sun, 13 Sep 2015 13:32:24 +0200 Subject: [PATCH] [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 --- phpBB/download/file.php | 5 +++-- 1 file 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', );