// Small Fix in product image upload

This commit is contained in:
Jerome Nadaud committed 2013-11-27 15:56:15 +01:00
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())