// fix bug upload image
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11777 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -87,7 +87,6 @@ class FileUploaderCore
|
||||
if($this->allowedExtensions && !in_array(strtolower($ext), $this->allowedExtensions))
|
||||
return array('error' => Tools::displayError('File has an invalid extension, it should be one of '). $these . '.');
|
||||
|
||||
|
||||
return $this->file->save();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user