From 43ce3b893799e36f5d30a392032ef633d425282f Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Thu, 31 Jan 2013 15:23:37 +0000 Subject: [PATCH] --- inc/ws/Controlleur/class.ws.stats.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/ws/Controlleur/class.ws.stats.php b/inc/ws/Controlleur/class.ws.stats.php index c4bfc05df..954a3cf62 100644 --- a/inc/ws/Controlleur/class.ws.stats.php +++ b/inc/ws/Controlleur/class.ws.stats.php @@ -26,6 +26,8 @@ class wsStats { } protected static function _getXLSFile($bid, $annee = null, $mois = null) { + $e = explode('_', $bid); + $bid = $e[0]; $xname = '/home/stats/www/xls/' . $bid; if (!is_null($annee)) { $xname.='/' . $annee; -- 2.39.5