From 33c45478bd19cc474da66610fad2a249c2668a35 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 22 Feb 2005 08:31:54 +0000 Subject: [PATCH] Synchro --- .../telephonie/stats/clients/clientsmoyenne.week.class.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/htdocs/telephonie/stats/clients/clientsmoyenne.week.class.php b/htdocs/telephonie/stats/clients/clientsmoyenne.week.class.php index 01288d7c6bf..87af2d78e90 100644 --- a/htdocs/telephonie/stats/clients/clientsmoyenne.week.class.php +++ b/htdocs/telephonie/stats/clients/clientsmoyenne.week.class.php @@ -160,7 +160,10 @@ class GraphClientsMoyenneWeek extends GraphLine { array_shift($moys); } - $this->GraphDraw($this->file, $moys, $labels_new, $moys); + if (sizeof($moys) > 1) + { + $this->GraphDraw($this->file, $moys, $labels_new); + } } } ?>