[Tickets #4658] Sometimes DayView.php shows a divide by zero

bugs@bugs.horde.org bugs at bugs.horde.org
Mon Nov 13 23:48:03 PST 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=4658
-----------------------------------------------------------------------
 Ticket             | 4658
 Created By         | sylvain.costard at uhb.fr
 Summary            | Sometimes DayView.php shows a divide by zero
 Queue              | Kronolith
 Version            | 2.1.2
 Type               | Bug
 State              | Unconfirmed
 Priority           | 2. Medium
 Owners             | 
+New Attachment     | horde-kronolith-2.1.2-zerodiv.patch
-----------------------------------------------------------------------


sylvain.costard at uhb.fr (2006-11-13 23:48) wrote:

Under certain conditions (seems to be the nmber of events in the celandar
or something) Dayview.php show the error message :

Warning: Division by zero in
/applis/Internet/horde-3.1.2/kronolith-h3-2.1.2/lib/DayView.php on line
363 

This arrives only for the first acces to the view.

A patch is joined to avoid the problem.

here is the version numebr of the file
$Horde: kronolith/lib/DayView.php,v 1.139.2.8 2005/10/20 09:17:49 jan Exp
$






More information about the bugs mailing list