We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c32f9e commit badbbb0Copy full SHA for badbbb0
app/code/Magento/Customer/Model/AttributeMetadataConverter.php
@@ -87,7 +87,7 @@ public function createMetadataAttribute($attribute)
87
}
88
89
$validationRules = [];
90
- foreach ($attribute->getValidateRules() as $name => $value) {
+ foreach ((array)$attribute->getValidateRules() as $name => $value) {
91
$validationRule = $this->validationRuleFactory->create()
92
->setName($name)
93
->setValue($value);
0 commit comments