Skip to content

Commit

Permalink
Fix array_intersect expected parameter 1 to be an array null given (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
luigifab authored Jun 15, 2020
1 parent db2535f commit 9b4207f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ protected function _getSearchableAttributes()
$attributeCollection = Mage::getResourceModel('catalog/product_attribute_collection');
$attributeCollection->addIsSearchableFilter();

$this->_searchableAttributes = [];
foreach ($attributeCollection as $attribute) {
$this->_searchableAttributes[] = $attribute->getAttributeCode();
}
Expand Down

0 comments on commit 9b4207f

Please sign in to comment.