aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-05-10 19:47:32 +0200
committerTristan Darricau <github@nicofuma.fr>2014-05-10 19:47:32 +0200
commitcee9b1d85686407276092748b93fc69cb12ddde1 (patch)
treeb885086b49e95eefaaf5db98b6a7dfe032fddad9 /phpBB
parenteee2091201b5b76b7b5fddc20092ae69167fbb30 (diff)
downloadforums-cee9b1d85686407276092748b93fc69cb12ddde1.tar
forums-cee9b1d85686407276092748b93fc69cb12ddde1.tar.gz
forums-cee9b1d85686407276092748b93fc69cb12ddde1.tar.bz2
forums-cee9b1d85686407276092748b93fc69cb12ddde1.tar.xz
forums-cee9b1d85686407276092748b93fc69cb12ddde1.zip
[ticket/11226] Use $user->lang()
PHPBB3-11226
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/functions_upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_upload.php b/phpBB/includes/functions_upload.php
index e7a4c23ba4..16a05a0a56 100644
--- a/phpBB/includes/functions_upload.php
+++ b/phpBB/includes/functions_upload.php
@@ -308,7 +308,7 @@ class filespec
if (file_exists($this->destination_file) && !$overwrite)
{
@unlink($this->filename);
- $this->error[] = sprintf($user->lang[$this->upload->error_prefix . 'GENERAL_UPLOAD_ERROR'], $this->destination_file);
+ $this->error[] = $user->lang($this->upload->error_prefix . 'GENERAL_UPLOAD_ERROR', $this->destination_file);
return false;
}
else