hotfix sale stat subcategorie

This commit is contained in:
Srv Bebeboutik 2016-03-02 10:14:16 +01:00
parent 0918b1e26d
commit adaecb5c9b

View File

@ -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']);