[kronolith] RELENG: Division by zero errors

Leena Heino Leena.Heino at uta.fi
Tue Jan 28 13:05:47 PST 2003


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?

-- 
  -- Leena Heino (liinu at uta.fi)


More information about the kronolith mailing list