Opened 12 years ago

Closed 12 years ago

#4728 closed patch (fixed)

Update to mythweb stats apge causing division by zero

Reported by: ma9mwah@… Owned by: xris
Priority: minor Milestone: unknown
Component: mythweb Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

On a new install with no recording the mythweb stats page shows a division by zero error. This patch includes a simple check to test for div by zero.

Attachments (1)

mythweb_stats.diff (1.1 KB) - added by ma9mwah@… 12 years ago.

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by ma9mwah@…

Attachment: mythweb_stats.diff added

comment:1 Changed 12 years ago by Rob Smith

Resolution: fixed
Status: newclosed

(In [16214]) Fixes #4728, this removes the ability for some divide by 0 errors with mythwebs stats module. Thanks ma9mwah!

Note: See TracTickets for help on using tickets.