mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11226] Use $user->lang()
PHPBB3-11226
This commit is contained in:
parent
eee2091201
commit
cee9b1d856
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue