Skip to content

Commit 64ecbe5

Browse files
author
Northern eCommerce
committed
Ensure valid data type is passed to backgroundColor
1 parent ef0de42 commit 64ecbe5

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
@@ -211,7 +211,7 @@ protected function setupImageProperties(\Magento\Framework\Image $image, $isSwat
211211
if ($isSwatch) {
212212
$image->keepFrame(true);
213213
$image->keepTransparency(true);
214-
$image->backgroundColor('#FFF');
214+
$image->backgroundColor([255, 255, 255]);
215215
}
216216
return $this;
217217
}

0 commit comments

Comments
 (0)