Skip to content

Commit bf490b7

Browse files
magento#39146: Image resize queue error due to .tmp file handling when deleting unsaved product images
- static tests fix
1 parent ef3710e commit bf490b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Observer/ImageResizeAfterProductSave.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function execute(\Magento\Framework\Event\Observer $observer)
9595
$new = $product->getData('media_gallery');
9696

9797
foreach ($new['images'] as $key => $value) {
98-
if($value['removed'] == 1){
98+
if ($value['removed'] == 1) {
9999
unset($new['images'][$key]);
100100
}
101101
}

0 commit comments

Comments
 (0)