// Force clearstatcache on product image upload
This commit is contained in:
1 parent
69c99f49c9
commit
dc90bb6227
5 files changed
+54
-34
No files matched your search
@@ -3648,6 +3648,9 @@ class AdminProductsControllerCore extends AdminController
|
||||
else
|
||||
$image->cover = 0;
|
||||
|
||||
if (isset($file['error']))
|
||||
continue;
|
||||
|
||||
if (!$image->add())
|
||||
$file['error'] = Tools::displayError('Error while creating additional image');
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user