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); + } } } ?>