// Fix translations error
This commit is contained in:
@@ -169,7 +169,7 @@ class AdminAttachmentsControllerCore extends AdminController
|
||||
$max_post = (int)ini_get('post_max_size');
|
||||
$upload_mb = min($max_upload, $max_post);
|
||||
$this->errors[] = sprintf(
|
||||
$this->l('The File %1$s exceeds the size allowed by the server. The limit is set to %1$d MB.'),
|
||||
$this->l('The File %1$s exceeds the size allowed by the server. The limit is set to %2$d MB.'),
|
||||
'<b>'.$_FILES['file']['name'].'</b> ',
|
||||
'<b>'.$upload_mb.'</b>'
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user