From 2ae46bd9847773a2165805dfaec4c08d01bbc6d3 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 23 Nov 2005 22:59:18 +0000 Subject: [PATCH] Bugfix --- htdocs/telephonie/stats/commerciaux/commerciaux.po.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/telephonie/stats/commerciaux/commerciaux.po.class.php b/htdocs/telephonie/stats/commerciaux/commerciaux.po.class.php index 7273bf90155..05dba6d8ee7 100644 --- a/htdocs/telephonie/stats/commerciaux/commerciaux.po.class.php +++ b/htdocs/telephonie/stats/commerciaux/commerciaux.po.class.php @@ -87,7 +87,7 @@ class GraphCommerciauxPO { for ($j = 0; $j < 12 ; $j++) { - $datas[$j] = $xdatas[substr("00".$j,-2)]; + $datas[$j] = $xdatas[substr("00".($j+1),-2)]; } $bplot = new BarPlot($datas);