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 2d6b749 commit 4b28051Copy full SHA for 4b28051
app/code/Magento/Catalog/Model/Indexer/Category/Product/AbstractAction.php
@@ -704,7 +704,7 @@ protected function fillTempCategoryTreeIndex($temporaryName)
704
705
foreach ($this->connection->fetchAll($select) as $category) {
706
foreach (explode('/', $category['path']) as $parentId) {
707
- if ($parentId !== $category['entity_id']) {
+ if ((int)$category['entity_id'] !== 1) {
708
$values[] = [$parentId, $category['entity_id']];
709
}
710
0 commit comments