Skip to content

Commit ea66105

Browse files
MAGETWO-70303: [GITHUB] Anchor categories are showing products of disabled subcategories #9002
- Fix comments
1 parent 8ea34c4 commit ea66105

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Model/Indexer/Category/Product/AbstractAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ protected function getTemporaryTreeIndexTableName()
605605
if (empty($this->tempTreeIndexTableName)) {
606606
$this->tempTreeIndexTableName = $this->connection->getTableName('temp_catalog_category_tree_index')
607607
. '_'
608-
. substr(md5(time() . random_int(0, 999999999)), 0, 8);
608+
. substr(sha1(time() . random_int(0, 999999999)), 0, 8);
609609
}
610610

611611
return $this->tempTreeIndexTableName;

0 commit comments

Comments
 (0)