diff --git a/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Eav/Source.php b/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Eav/Source.php index 7e647806129..e3c8175a4f8 100644 --- a/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Eav/Source.php +++ b/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Eav/Source.php @@ -228,7 +228,7 @@ protected function _prepareMultiselectIndex($entityIds = null, $attributeId = nu $data = []; $query = $select->query(); while ($row = $query->fetch()) { - $values = array_unique(explode(',', $row['value'])); + $values = empty($row['value']) ? [] : array_unique(explode(',', $row['value'])); foreach ($values as $valueId) { if (isset($options[$row['attribute_id']][$valueId])) { $data[] = [