--- fivestar.module 2009-09-23 17:04:59.000000000 -0400 +++ fivestarNew.module 2009-10-02 08:10:30.000000000 -0400 @@ -1393,6 +1393,12 @@ function theme_fivestar_widget($form) { * */ function theme_fivestar_static($rating, $stars = 5, $tag = 'vote') { + if(!isset($rating)) { + $rating = 0; + } + if(empty($stars)) { + $stars = 5; + } $output = ''; $output .= '
'; $numeric_rating = $rating/(100/$stars);