From 6a509c0832201fe2ffe2f81af1afc9ffa5879e8b Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 9 Feb 2005 14:09:58 +0000 Subject: [PATCH] Nettoyage du code --- htdocs/telephonie/stats/lignes/commandes.week.class.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/htdocs/telephonie/stats/lignes/commandes.week.class.php b/htdocs/telephonie/stats/lignes/commandes.week.class.php index ec0838768a1..a2da286b00f 100644 --- a/htdocs/telephonie/stats/lignes/commandes.week.class.php +++ b/htdocs/telephonie/stats/lignes/commandes.week.class.php @@ -71,16 +71,13 @@ class GraphLignesCommandesWeek extends GraphBar { if ($oldyear == 0) { $oldyear = substr($row[0],0,4); - } - + } if ($oldyear == substr($row[0],0,4) && $j > 0 && substr($row[0],-2) <> ($labels[$j-1] +1 ) ) { - $datas[$j] = 0; $labels[$j] = $labels[$j-1] + 1; $j++; - } $datas[$j] = $row[1]; @@ -100,5 +97,4 @@ class GraphLignesCommandesWeek extends GraphBar { $this->GraphDraw($this->file, $datas, $labels); } } - ?>