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.
hi
sometimes i get this error
Division by zero in /storage/httpd/drupal/iwikiphone/sites/all/modules/fivestar/fivestar.module on line 1398.
Comment | File | Size | Author |
---|---|---|---|
#2 | fivestar-594062.patch | 796 bytes | ezra-g |
#1 | division_by_zero.patch | 539 bytes | josh@pixael.com |
Comments
Comment #1
josh@pixael.com CreditAttribution: josh@pixael.com commentedthis patch could resolve the problem
Comment #2
ezra-g CreditAttribution: ezra-g commentedThanks for this patch. The indentations you're using are not compliant with the Drupal coding standards. Also, I'm not sure that we need to set the rating value.
Does the attached patch resolve the problem for you?
Comment #3
ezra-g CreditAttribution: ezra-g commentedComment #4
josh@pixael.com CreditAttribution: josh@pixael.com commentedyes this solved my problem... sorry for indentation
Comment #5
ezra-g CreditAttribution: ezra-g commentedNo problem -- Just wanted to point you in the right direction. Thanks for the quick review! Comitted.