We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbb6b1e commit 3c1793fCopy full SHA for 3c1793f
app/code/Magento/Elasticsearch/Model/Indexer/IndexerHandler.php
@@ -161,7 +161,7 @@ private function updateCacheContext(array $docs) : void
161
foreach ($document['category_ids'] as $id) {
162
$categoryIds[] = $id;
163
}
164
- } else {
+ } elseif (is_numeric($document['category_ids'])) {
165
$categoryIds[] = $document['category_ids'];
166
167
0 commit comments