Division by zero in innreport

Julien ÉLIE julien at trigofacile.com
Sun Jan 8 21:46:36 UTC 2012

Hi River,

> My innreport (2.5.2) is running fine since the new year:
> 	http://news.rt.uk.eu.org/stats/
> Is something else necessary to trigger the bug?

Yes.  The bug occurs when both of these two conditions are met:
a/ the current year is a leap year (like 2012);
b/ <pathhttp>/innreport.db contains a line, of whatever year, for "Dec 
31 - Jan 1" with the same hh:mm:ss for both "Dec 31" and "Jan 1".

Julien ÉLIE

« Le bonheur, c'est vouloir ce que l'on a. »

More information about the inn-workers mailing list