From 55a571ca60f38b5dc751c637593d30c47a10f796 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 18 Oct 2005 10:29:24 +0000 Subject: [PATCH] bugfix --- .../telephonie/script/graph-statistiques-fournisseurs.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/htdocs/telephonie/script/graph-statistiques-fournisseurs.php b/htdocs/telephonie/script/graph-statistiques-fournisseurs.php index c00e1df4b40..bf8f65cddc9 100644 --- a/htdocs/telephonie/script/graph-statistiques-fournisseurs.php +++ b/htdocs/telephonie/script/graph-statistiques-fournisseurs.php @@ -117,7 +117,6 @@ foreach($graphs as $graph) foreach($Tdate as $date) { $datas[$key][$j] = ($value[$date]/60000); - $globals[$j] = ($value[$date]/60000); $j++; } @@ -155,6 +154,12 @@ foreach($graphs as $graph) /* * Sum */ +$j = 0; +foreach($Tdate as $date) +{ + $globals[$j] = ($Tglobal[$date]/60000); + $j++; +} $file = $img_root . "communications/duree.png";