Skip to content

Commit 001df49

Browse files
Fix Issue #7225 - Remove hardcoding of apply_to when saving attributes
1 parent de58c64 commit 001df49

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Save.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public function execute()
193193
);
194194
}
195195

196-
$data += ['is_filterable' => 0, 'is_filterable_in_search' => 0, 'apply_to' => []];
196+
$data += ['is_filterable' => 0, 'is_filterable_in_search' => 0];
197197

198198
if (is_null($model->getIsUserDefined()) || $model->getIsUserDefined() != 0) {
199199
$data['backend_type'] = $model->getBackendTypeByInput($data['frontend_input']);

0 commit comments

Comments
 (0)