Closed (won't fix)
Project:
Karma
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
23 Oct 2006 at 05:09 UTC
Updated:
7 Jul 2007 at 02:23 UTC
On the karma rating overview page, if a cid is passed that is not a valid comment ID a division by zero occurs on the average calculation. This would also occur if a valid comment had no ratings yet. This patch displays 404 if the comment is not found, and prevents the division by zero in the second case.
| Comment | File | Size | Author |
|---|---|---|---|
| karma.patch.txt | 1.45 KB | crunchywelch |
Comments
Comment #1
drummNo longer applies.
Comment #2
mcarbone commented