[*] BO : Removed size limit for image upload (BL006, CC136)
This commit is contained in:
@@ -66,7 +66,7 @@ class AdminLanguages extends AdminTab
|
||||
public function copyNoPictureImage($language)
|
||||
{
|
||||
if (isset($_FILES['no-picture']) and $_FILES['no-picture']['error'] === 0)
|
||||
if ($error = checkImage($_FILES['no-picture'], $this->maxImageSize))
|
||||
if ($error = checkImage($_FILES['no-picture'], Tools::getMaxUploadSize()))
|
||||
$this->_errors[] = $error;
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user