Related to a similar problem in selection.module, there was a problem with an extra & in ranking.module. It also was using the wrong number of options when using the ranking. Here is a patch that I used to fix the problem in the HEAD version.

68c68
< function decisions_ranking_voting_form($form_state, &$node, $teaser, $page) {
---
> function decisions_ranking_voting_form($form_state, $node, $teaser, $page) {
86c86
<     $num_choices = count($node->choice);
---
>     $num_choices = count($node->choice) - 1;
CommentFileSizeAuthor
#2 ranking.module.patch277 bytesyowzer

Comments

ezra-g’s picture

Status: Active » Needs work

Thanks. Could you re-roll and attach to this issue according to http://drupal.org/patch/create ?

yowzer’s picture

StatusFileSize
new277 bytes

This is my first time submitting a patch, so hopefully I've got it right this time. ;)

ezra-g’s picture

Status: Needs work » Needs review

Thanks for the re-roll. Looks like you didn't use the -up option, which helps make a patch reviewable. In any case, this probably applies so I'm marking as NR.

ezra-g’s picture

Status: Needs review » Fixed

This didn't apply so I manually committed these changes. Please make sure to use the cvs diff -up options when making a patch. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.