Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.