From f09551b007b97fcd9d6453cfe33fa5f3dfc14e51 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 8 Feb 2005 14:55:26 +0000 Subject: [PATCH] Gestion des vides --- .../stats/lignes/commandes.week.class.php | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/htdocs/telephonie/stats/lignes/commandes.week.class.php b/htdocs/telephonie/stats/lignes/commandes.week.class.php index 06a9be892dd..ec0838768a1 100644 --- a/htdocs/telephonie/stats/lignes/commandes.week.class.php +++ b/htdocs/telephonie/stats/lignes/commandes.week.class.php @@ -30,7 +30,7 @@ class GraphLignesCommandesWeek extends GraphBar { $this->file = $file; $this->client = 0; - $this->titre = "Commandes Lignes"; + $this->titre = "Commandes Lignes par semaine"; $this->barcolor = "blue"; $this->showframe = true; @@ -56,18 +56,13 @@ class GraphLignesCommandesWeek extends GraphBar { if ($result) { $num = $this->db->num_rows(); - - $i = 0; - $j = 0; - $attente = array(); - $acommander = array(); - $commandee = array(); - $active = array(); - $last = 0; - $oldyear == 0; - - + $i = 0; + $j = 0; + $datas = array(); + $labels = array(); + $oldyear == 0; + while ($i < $num) {