Index: fivestar.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/fivestar/fivestar.module,v
retrieving revision 1.13.2.70
diff -u -p -r1.13.2.70 fivestar.module
--- fivestar.module	14 Jul 2009 03:08:30 -0000	1.13.2.70
+++ fivestar.module	4 Oct 2009 15:34:54 -0000
@@ -1395,6 +1395,9 @@ function theme_fivestar_widget($form) {
 function theme_fivestar_static($rating, $stars = 5, $tag = 'vote') {
   $output = '';
   $output .= '<div class="fivestar-widget-static fivestar-widget-static-'. $tag .' fivestar-widget-static-'. $stars .' clear-block">';
+  if (empty($stars)) {
+    $stars = 5;
+  }
   $numeric_rating = $rating/(100/$stars);
   for ($n=1; $n <= $stars; $n++) {
     $star_value = ceil((100/$stars) * $n);
