[kronolith] RELENG: Division by zero errors

Chuck Hagenbuch chuck at horde.org
Tue Jan 28 10:32:33 PST 2003


Quoting Leena Heino <Leena.Heino at uta.fi>:

> If $event->recurInterval is zero then this line in file
> kronolith/lib/Driver/sql.php causes division by zero errors:
> $recur = (ceil($diff->mday / $event->recurInterval)) * $event->recur
> Interval;
> 
> Are there any situations where recurInterval might be zero?

No valid ones.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
must ... find ... acorns ... *thud*


More information about the kronolith mailing list