Skip to content

Commit 80a3588

Browse files
author
Oleksii Korshenko
committed
MAGETWO-82946: Fix Issue #7225 - Remove hardcoding of apply_to when saving attributes #11588
- Merge Pull Request #11588 from MartinPeverelli/magento2:ISSUE#7225 - Merged commits: 1. 001df49
2 parents c896f2c + 001df49 commit 80a3588

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)