Quote:
Originally Posted by rwoscott
I'm no php expert, but I did the following to fix this error.
In statistics.php replace
PHP Code:
$year = $year - intval(($howmany - $today['month']) / 12);
With
PHP Code:
$year = $year - intval(($howmany - $today['month'] - 1) / 12);
I've tested it for this month and it seems fine.
I've run through it on paper and I think it should work for other months. (fingers crossed) :up:
|
I've checked this month and all seems to be OK with the above fix.