[*] BO #PSFV-94 : update of the displayform method by helperForm in AdminGenderController
This commit is contained in:
@@ -1077,7 +1077,7 @@ abstract class AdminTabCore
|
||||
return false;
|
||||
else
|
||||
{
|
||||
$_FILES[$name]['tmp_name'] = $tmpName;
|
||||
$tmpName = $_FILES[$name]['tmp_name'];
|
||||
// Copy new image
|
||||
if (!imageResize($tmpName, _PS_IMG_DIR_.$dir.$id.'.'.$this->imageType, (int)$width, (int)$height, ($ext ? $ext : $this->imageType)))
|
||||
$this->_errors[] = Tools::displayError('An error occurred while uploading image.');
|
||||
|
||||
Reference in New Issue
Block a user