aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/download
diff options
context:
space:
mode:
authorFyorl <gaelreth@gmail.com>2012-08-14 13:24:02 +0100
committerFyorl <gaelreth@gmail.com>2012-08-14 13:24:02 +0100
commitbe27afa1c7b13eae0bc7c4e70433ddced4af31b4 (patch)
treef743baa059003b96a17ed2befb370969338c5e8f /phpBB/download
parentef2e7ca79142ddfe2c23e6f84cbe87c30e9bb33b (diff)
downloadforums-be27afa1c7b13eae0bc7c4e70433ddced4af31b4.tar
forums-be27afa1c7b13eae0bc7c4e70433ddced4af31b4.tar.gz
forums-be27afa1c7b13eae0bc7c4e70433ddced4af31b4.tar.bz2
forums-be27afa1c7b13eae0bc7c4e70433ddced4af31b4.tar.xz
forums-be27afa1c7b13eae0bc7c4e70433ddced4af31b4.zip
[feature/attach-dl] Removed sprintf() use
PHPBB3-11042
Diffstat (limited to 'phpBB/download')
-rw-r--r--phpBB/download/file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/download/file.php b/phpBB/download/file.php
index e658715483..58b99fc4ef 100644
--- a/phpBB/download/file.php
+++ b/phpBB/download/file.php
@@ -404,7 +404,7 @@ else
// None of the attachments had a valid a extension
$disallowed = implode(', ', $disallowed);
send_status_line(404, 'Forbidden');
- trigger_error(sprintf($user->lang['EXTENSION_DISABLED_AFTER_POSTING'], $disallowed));
+ trigger_error($user->lang('EXTENSION_DISABLED_AFTER_POSTING', $disallowed));
}
file_gc();