hotfix sale stat subcategorie
This commit is contained in:
parent
0918b1e26d
commit
adaecb5c9b
@ -87,7 +87,7 @@ class SaleStats
|
||||
if (!Validate::isLoadedObject($this->category)) {
|
||||
return false;
|
||||
}
|
||||
$childrens = Category::getChildren($this->category->id, $this->id_lang);
|
||||
$childrens = Category::getChildren($this->category->id, $this->id_lang, false);
|
||||
if ($childrens) {
|
||||
foreach ($childrens as $key => $child) {
|
||||
$total_ref = self::getTotalRefByCategory($child['id_category']);
|
||||
|
Loading…
Reference in New Issue
Block a user