mirror of https://github.com/joomla/joomla-cms.git
Fix articles categories module display children categories multiple times (#42925)
This commit is contained in:
parent
78d91ea137
commit
6023e5cee7
|
@ -60,7 +60,7 @@ class ArticlesCategoriesHelper implements DatabaseAwareInterface
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get all the children categories of this node
|
// Get all the children categories of this node
|
||||||
$childrenCategories = $parentCategory->getChildren(true);
|
$childrenCategories = $parentCategory->getChildren();
|
||||||
|
|
||||||
$count = $moduleParams->get('count', 0);
|
$count = $moduleParams->get('count', 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue