// fix bug upload image
This commit is contained in:
1 parent
da04c00757
commit
7b5c3f7f5a
4 files changed
+12
-17
No files matched your search
@@ -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