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 b3774fb commit ef9989cCopy full SHA for ef9989c
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