Skip to content

Commit 80a273f

Browse files
author
Yaroslav Onischenko
committed
MAGETWO-52973: Sample data throws exception on installation
1 parent 3b536b7 commit 80a273f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogSampleData/Model/Attribute.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function install(array $fixtures)
132132
$data['backend_model'] = $this->productHelper->getAttributeBackendModelByInputType(
133133
$data['frontend_input']
134134
);
135-
$data += ['is_filterable' => 0, 'is_filterable_in_search' => 0, 'apply_to' => []];
135+
$data += ['is_filterable' => 0, 'is_filterable_in_search' => 0];
136136
$data['backend_type'] = $attribute->getBackendTypeByInput($data['frontend_input']);
137137

138138
$attribute->addData($data);

0 commit comments

Comments
 (0)