Fix travis

This commit is contained in:
Alexandre SPANGARO 2019-07-30 11:06:40 +02:00
parent 8228979e67
commit b146004966
2 changed files with 3 additions and 3 deletions

View File

@ -195,7 +195,7 @@ class box_graph_propales_permonth extends ModeleBoxes
{
if ($startmonth != 0)
{
$legend[]=sprintf("%d/%d",$i-2001, $i-2000);
$legend[]=sprintf("%d/%d", $i-2001, $i-2000);
}
else
{

View File

@ -106,7 +106,7 @@ abstract class Stats
$year=$startyear;
while($year <= $endyear)
{
$data[$i][]=$datay[$year - (1 - (int) (($i+$startmonth)/12)) + ($startmonth == 0 ? 1 : 0)][($i+$startmonth)%12][1];
$data[$i][]=$datay[$year - (1 - ((int) ($i+$startmonth)/12) + ($startmonth == 0 ? 1 : 0))][($i+$startmonth)%12][1];
$year++;
}
}
@ -206,7 +206,7 @@ abstract class Stats
$year=$startyear;
while($year <= $endyear)
{
$data[$i][]=$datay[$year - (1 - (int) (($i+$startmonth)/12)) + ($startmonth == 0 ? 1 : 0)][($i+$startmonth)%12][1]; // set yval for x=i
$data[$i][]=$datay[$year - (1 - ((int) ($i+$startmonth)/12) + ($startmonth == 0 ? 1 : 0))][($i+$startmonth)%12][1]; // set yval for x=i
$year++;
}
}