Needs review
Project:
Contrib status
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Sep 2011 at 14:12 UTC
Updated:
30 Sep 2011 at 14:15 UTC
Jump to comment: Most recent file
I've noticed this on http://drupalcontribstatus.com a couple times. When update_get_available() doesn't return anything, $count is 0, and division fails.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | contrib_status-1295856-1.patch | 1.63 KB | tim.plunkett |
Comments
Comment #1
tim.plunkettThe first hunk should fix the problem by forcing
update_get_available()to return something.The second is just a failsafe to prevent division by 0, though it shouldn't really be a problem after the first fix.