We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74a95e3 commit a63a58bCopy full SHA for a63a58b
Plugin/CreateMissingAttributeOptionPlugin.php
@@ -48,7 +48,7 @@ public function beforeIsAttributeValid(Validator $subject, $attrCode, array $att
48
return [$attrCode, $attrParams, $rowData];
49
}
50
51
- $values = explode(Product::PSEUDO_MULTI_LINE_SEPARATOR, $rowData[$attrCode]);
+ $values = explode(Product::PSEUDO_MULTI_LINE_SEPARATOR, (string)$rowData[$attrCode]);
52
$values = array_filter($values, function ($optionName) use ($attrParams) {
53
if (!strlen($optionName)) {
54
return false;
0 commit comments