Index: fivestar.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/fivestar/fivestar.module,v
retrieving revision 1.13.2.52
diff -u -r1.13.2.52 fivestar.module
--- fivestar.module	11 Apr 2009 05:14:43 -0000	1.13.2.52
+++ fivestar.module	11 Apr 2009 05:21:21 -0000
@@ -727,13 +727,13 @@
  * Internal function to handle vote casting, flood control, XSS, IP based
  * voting, etc...
  */
-function _fivestar_cast_vote($type, $cid, $value, $tag = NULL, $uid = NULL, $result = FALSE) {
+function _fivestar_cast_vote($type, $cid, $value, $tag = NULL, $uid = NULL, $result = FALSE, $skip_validation = FALSE) {
   global $user;
   $tag = empty($tag) ? 'vote' : $tag;
   $uid = empty($uid) ? $user->uid : $uid;
 
   // Bail out if the user's trying to vote on an invalid object.
-  if (!fivestar_validate_target($type, $cid, $uid)) {
+  if (!$skip_validation && !fivestar_validate_target($type, $cid, $uid)) {
     return array();
   }
 
@@ -1415,7 +1415,7 @@
   if ($votes === 0) {
     $output = '<span class="empty">'. t('No votes yet') .'</span>';
   }
-dvm(func_get_args());
+
   $output = '<div class="fivestar-summary fivestar-summary-'. $div_class . ($feedback ? ' fivestar-feedback-enabled' : '') .'">'. $output .'</div>';
   return $output;
 }
Index: fivestar_field.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/fivestar/fivestar_field.inc,v
retrieving revision 1.3.2.14
diff -u -r1.3.2.14 fivestar_field.inc
--- fivestar_field.inc	10 Apr 2009 19:45:06 -0000	1.3.2.14
+++ fivestar_field.inc	11 Apr 2009 05:21:21 -0000
@@ -116,7 +116,7 @@
 
         if (is_numeric($target)) {
           $rating = $node->status ? $items[$delta]['rating'] : 0;
-          _fivestar_cast_vote('node', $target, $rating, $items[$delta]['axis'], $node->uid);
+          _fivestar_cast_vote('node', $target, $rating, $items[$delta]['axis'], $node->uid, FALSE, TRUE);
           votingapi_recalculate_results('node', $target);
         }
       }
@@ -126,7 +126,7 @@
         $target = fivestar_field_target($node, $field, $item);
 
         if (is_numeric($target)) {
-          _fivestar_cast_vote('node', $target, 0, $items[$delta]['axis'], $node->uid);
+          _fivestar_cast_vote('node', $target, 0, $items[$delta]['axis'], $node->uid, FALSE, TRUE);
           votingapi_recalculate_results('node', $target);
         }
       }
