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);