Index: modes/ranking.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/decisions/modes/ranking.inc,v retrieving revision 1.9 diff -u -r1.9 ranking.inc --- modes/ranking.inc 17 Oct 2006 22:21:44 -0000 1.9 +++ modes/ranking.inc 18 Oct 2006 05:51:07 -0000 @@ -44,18 +44,15 @@ } $form['choice'] = array( - '#tree' => TRUE, + '#type' => 'checkboxes', //XXX: Workaround for FormAPI bug in PHP 4, see http://drupal.org/node/86657 + '#tree' => TRUE, ); foreach ($node->choice as $key => $choice) { - $list[$i] = check_plain($choice); - $form['choice'][$key] = array( '#type' => 'select', '#title' => check_plain($choice), - '#required' => FALSE, '#options' => $choices, - '#weight' => $weight++, ); } }