Index: modes/poll.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/decisions/modes/poll.inc,v retrieving revision 1.2 diff -u -F^f -r1.2 poll.inc --- modes/poll.inc 8 Oct 2006 16:49:50 -0000 1.2 +++ modes/poll.inc 11 Oct 2006 05:54:57 -0000 @@ -13,6 +13,7 @@ function decisions_poll_longname() { * This creates a list of choices to allow the user to vote on options. */ function decisions_view_voting_poll(&$node, $teaser, $page, $block) { + $form = array(); if ($node->option) { $list = array(); @@ -31,6 +32,7 @@ function decisions_view_voting_poll(&$no } else { // approval voting + $form['option'] = array(); foreach ($node->option as $key => $option) { $list[$i] = check_plain($option); Index: modes/ranking.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/decisions/modes/ranking.inc,v retrieving revision 1.1 diff -u -F^f -r1.1 ranking.inc --- modes/ranking.inc 8 Oct 2006 23:33:33 -0000 1.1 +++ modes/ranking.inc 11 Oct 2006 05:54:57 -0000 @@ -18,6 +18,7 @@ function decisions_ranking_longname() { function decisions_view_voting_ranking(&$node, $teaser, $page, $block) { $weight = 0; + $form = array(); if ($node->option) { $list = array(); @@ -42,6 +43,7 @@ function decisions_view_voting_ranking(& $options[$i] = $val; } + $form['option'] = array(); foreach ($node->option as $key => $option) { $list[$i] = check_plain($option);