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.
2 parents 4fd1471 + ef9989c commit 7859d23Copy full SHA for 7859d23
app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Save.php
@@ -273,7 +273,7 @@ public function execute()
273
$data['default_value'] = null;
274
} elseif (isset($data['default'])) {
275
$defaultOptions = [];
276
- foreach ($data['default'] as $defaultValue) {
+ foreach ((array)$data['default'] as $defaultValue) {
277
if ((int)$defaultValue > 0) {
278
$defaultOptions[] = $defaultValue;
279
}
0 commit comments