Skip to content

Commit 2c5fd23

Browse files
author
OlgaVasyltsun
committed
MC-19132: Child product image of configurable product not displayed
1 parent 8e3edf1 commit 2c5fd23

File tree

1 file changed

+1
-0
lines changed
  • lib/internal/Magento/Framework/Image/Adapter

1 file changed

+1
-0
lines changed

lib/internal/Magento/Framework/Image/Adapter/Gd2.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ private function _fillBackgroundColor(&$imageResourceTo)
296296
imagecolortransparent($imageResourceTo, $transparentColor);
297297
return $transparentColor;
298298
}
299+
// phpcs:disable Magento2.CodeAnalysis.EmptyBlock.DetectedCatch
299300
} catch (\Exception $e) {
300301
// fallback to default background color
301302
}

0 commit comments

Comments
 (0)