diff --git a/htdocs/telephonie/stats/graph/heureappel.class.php b/htdocs/telephonie/stats/graph/heureappel.class.php index b41da384880..5ad64487016 100644 --- a/htdocs/telephonie/stats/graph/heureappel.class.php +++ b/htdocs/telephonie/stats/graph/heureappel.class.php @@ -38,7 +38,7 @@ class GraphHeureAppel extends GraphBrouzouf $this->barcolor = "blue"; } - Function GraphDraw($g) + Function GraphDraw() { $sql = "SELECT ".$this->db->pdate("date")." as date, duree"; diff --git a/htdocs/telephonie/stats/graph/joursemaine.class.php b/htdocs/telephonie/stats/graph/joursemaine.class.php index 27af98eb04b..ba0e7c73e3f 100644 --- a/htdocs/telephonie/stats/graph/joursemaine.class.php +++ b/htdocs/telephonie/stats/graph/joursemaine.class.php @@ -66,11 +66,8 @@ class GraphJoursemaine extends GraphBrouzouf{ $i++; } } - - if ($num > 0) - { - $this->GraphMakeGraph($jour_semaine_nb,array('Lun','Mar','Mer','Jeu','Ven','Sam','Dim')); - } + + $this->GraphMakeGraph($jour_semaine_nb,array('Lun','Mar','Mer','Jeu','Ven','Sam','Dim')); } }