Skip to content

Commit 98d2117

Browse files
MAGETWO-82946: Fix Issue #7225 - Remove hardcoding of apply_to when saving attributes #11588
2 parents 1812b10 + 80a3588 commit 98d2117

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)