// Small Fix in product image upload
This commit is contained in:
1 parent
dd99d13dc4
commit
cc8f4696b1
1 file changed
+1
-1
@@ -3648,7 +3648,7 @@ class AdminProductsControllerCore extends AdminController
|
|||||||
else
|
else
|
||||||
$image->cover = 0;
|
$image->cover = 0;
|
||||||
|
|
||||||
if (isset($file['error']))
|
if (isset($file['error']) && (int)$file['error'] != 0)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (!$image->add())
|
if (!$image->add())
|
||||||
|
|||||||
Reference in new issue
Block a user