Skip to content

Commit

Permalink
Merge branch '2.1.x' into 2.2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurélien FOUCRET committed Jan 4, 2017
2 parents 4376750 + 76d53cd commit 3408aab
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/module-elasticsuite-catalog/Helper/Attribute.php
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,7 @@ private function getAttributeByStore($attribute, $storeId)
* @var EavAttributeInterface
*/
$storeAttribute = $this->attributeFactory->create();
$storeAttribute->setStoreId($storeId)
->load($attributeId);

$storeAttribute->load($attributeId)->setStoreId($storeId);
$this->storeAttributes[$storeId][$attributeId] = $storeAttribute;
}

Expand Down

0 comments on commit 3408aab

Please sign in to comment.