[*] BO : Removed size limit for image upload (BL006, CC136)

This commit is contained in:
tDidierjean committed 2011-09-12 09:14:07 +00:00
1 parent beea76b0bd
commit 7cd878079c
17 files changed
+43 -51

No files matched your search

+1 -1
View File
@@ -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
{