Skip to content

Commit

Permalink
Fix Issue #7225 - Remove hardcoding of apply_to when saving attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinPeverelli committed Oct 20, 2017
1 parent de58c64 commit 001df49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public function execute()
);
}

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

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

0 comments on commit 001df49

Please sign in to comment.