Skip to content

Commit f9b2a88

Browse files
committed
MAGETWO-93258: [Forwardport] Optimize retrieving product attributes
1 parent b3dd501 commit f9b2a88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Model/Product.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ protected function getCustomAttributesCodes()
511511
$this
512512
));
513513

514-
$this->filterCustomAttribute->execute($this->customAttributesCodes);
514+
$this->customAttributesCodes = $this->filterCustomAttribute->execute($this->customAttributesCodes);
515515
$this->customAttributesCodes = array_diff($this->customAttributesCodes, ProductInterface::ATTRIBUTES);
516516
}
517517

0 commit comments

Comments
 (0)