Skip to content

Commit 3c1793f

Browse files
author
Oleksandr Iegorov
committed
MC-42811: Missing Bundled Products on Category Pages
1 parent dbb6b1e commit 3c1793f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Elasticsearch/Model/Indexer/IndexerHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ private function updateCacheContext(array $docs) : void
161161
foreach ($document['category_ids'] as $id) {
162162
$categoryIds[] = $id;
163163
}
164-
} else {
164+
} elseif (is_numeric($document['category_ids'])) {
165165
$categoryIds[] = $document['category_ids'];
166166
}
167167
}

0 commit comments

Comments
 (0)