From 6727a90d67fd86439123e0dd35bb66449ac7a93f Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 7 Dec 2005 11:52:01 +0000 Subject: [PATCH] Bugfix --- htdocs/telephonie/script/tools/graph-conso-jour.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/telephonie/script/tools/graph-conso-jour.php b/htdocs/telephonie/script/tools/graph-conso-jour.php index a9aa54d5e6f..e8c2fbba3b6 100644 --- a/htdocs/telephonie/script/tools/graph-conso-jour.php +++ b/htdocs/telephonie/script/tools/graph-conso-jour.php @@ -74,8 +74,8 @@ if ($resql) $data[$i] = ($row[1]/60000); $total = $total + $data[$i]; $labels[$i] = $row[0]; + $moydata[$i] = $total / ($i+1); $i++; - $moydata[$i] = $total / $i; } } else