Skip to content

Commit bc819f4

Browse files
author
Northern eCommerce
committed
Ensure valid data type is passed to backgroundColor
1 parent aa49c8f commit bc819f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Swatches/Helper/Media.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ protected function setupImageProperties(\Magento\Framework\Image $image, $isSwat
202202
if ($isSwatch) {
203203
$image->keepFrame(true);
204204
$image->keepTransparency(true);
205-
$image->backgroundColor('#FFF');
205+
$image->backgroundColor([255, 255, 255]);
206206
}
207207
return $this;
208208
}

0 commit comments

Comments
 (0)