6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/20/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6238] Division by zero in whups\lib\Reports.php
*
Your Email Address
*
Spam protection
Enter the letters below:
. .\ /. , .. , | | >< \./ | \./ |__|/ \ | \__| |
Comment
> The math operations in lines 186 to 193 should be wrapped in if-else > statements in the event the dataset contains 0 tickets: > > > > [10-Feb-2008 15:45:28] PHP Warning: Division by zero in > \ssms\whups\lib\Reports.php on line 192 > > > > [10-Feb-2008 15:45:28] PHP Warning: max() [<a > href='function.max'>function.max</a>]: Array must contain atleast one > element in \ssms\whups\lib\Reports.php on line 189 > > > > [10-Feb-2008 15:45:28] PHP Warning: min() [<a > href='function.min'>function.min</a>]: Array must contain atleast one > element in \ssms\whups\lib\Reports.php on line 189 > > > > Versions: > > whups/lib/Reports.php,v 1.32 2008/01/02 > > Horde 4.0 cvs retrieved Feb 9/2008 > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers