--- a/votingapi.drush.inc     2012-02-24 11:12:03.000000000 -0500
+++ b/votingapi.drush.inc     2012-02-28 16:52:41.000000000 -0500
@@ -167,7 +167,7 @@
   }

   foreach ($votes as $vote) {
-    votingapi_recalculate_results($entity_type, $entity_id, TRUE);
+    votingapi_recalculate_results($vote['entity_type'], $vote['entity_id'], TRUE);
   }

   drush_log($message, 'success');
