6.0.0-beta1
9/24/25

[#4658] Sometimes DayView.php shows a divide by zero
Summary Sometimes DayView.php shows a divide by zero
Queue Kronolith
Queue Version 2.1.2
Type Bug
State Resolved
Priority 2. Medium
Owners
Requester sylvain.costard (at) uhb (dot) fr
Created 11/14/2006 (6889 days ago)
Due
Updated 11/18/2006 (6885 days ago)
Assigned
Resolved 11/18/2006 (6885 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/18/2006 10:45:08 PM Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
Fixed in CVS, thanks.
11/14/2006 07:48:03 AM sylvain (dot) costard (at) uhb (dot) fr Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Sometimes DayView.php shows a divide by zero
Queue ⇒ Kronolith
New Attachment: horde-kronolith-2.1.2-zerodiv.patch Download
Reply to this comment
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 $




Saved Queries