From adaecb5c9b0ab3d30d80ad3b7ea94cd9a008c4d6 Mon Sep 17 00:00:00 2001 From: Srv Bebeboutik Date: Wed, 2 Mar 2016 10:14:16 +0100 Subject: [PATCH] hotfix sale stat subcategorie --- modules/privatesales_logistique/classes/SaleStats.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/privatesales_logistique/classes/SaleStats.php b/modules/privatesales_logistique/classes/SaleStats.php index 15ffb135..96c35151 100755 --- a/modules/privatesales_logistique/classes/SaleStats.php +++ b/modules/privatesales_logistique/classes/SaleStats.php @@ -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']);