sometimes i get this error
Division by zero in /storage/httpd/drupal/iwikiphone/sites/all/modules/fivestar/fivestar.module on line 1398.
this patch could resolve the problem
Thanks 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?
yes this solved my problem... sorry for indentation
No problem -- Just wanted to point you in the right direction. Thanks for the quick review! Comitted.
Automatically closed -- issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.