Index: votingapi.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/votingapi/votingapi.module,v retrieving revision 1.46.2.3 diff -u -r1.46.2.3 votingapi.module --- votingapi.module 15 Jan 2008 06:57:07 -0000 1.46.2.3 +++ votingapi.module 10 Mar 2008 05:59:37 -0000 @@ -129,7 +129,7 @@ * contained in a nested array keyed thusly: * $value = $results[$content_type][$content_id][$tag][$value_type][$function] */ -function votingapi_set_votes($votes = array(), $criteria = NULL) { +function votingapi_set_votes(&$votes, $criteria = NULL) { $touched = array(); if (!empty($votes['content_type'])) { $votes = array($votes);