--- fivestar.module.old 2009-12-19 16:36:23.000000000 -0800 +++ fivestar.module 2010-02-03 13:03:49.000000000 -0800 @@ -156,16 +156,14 @@ function fivestar_form_alter(&$form, &$f $form['submit']['#weight'] = isset($form['submit']['#weight']) ? $form['submit']['#weight'] + 1 : 1; $form['delete']['#weight'] = isset($form['delete']['#weight']) ? $form['delete']['#weight'] + 1 : 1; - $form['fivestar'] = array( - '#type' => 'fieldset', - '#title' => t('Fivestar ratings'), - '#collapsible' => TRUE, - '#collapsed' => !variable_get('fivestar_'. $form['#node_type']->type, 0), - '#description' => t('To rate this content, enable Fivestar rating below. These settings will be used for both comments (if available) and direct rating.'), - '#theme' => 'fivestar_node_type_form', - '#attributes' => array('id' => 'fivestar-node-type-form'), - '#group' => 'additional_settings', - ); + $form['fivestar']['#type'] = 'fieldset'; + $form['fivestar']['#title'] = t('Fivestar ratings'); + $form['fivestar']['#collapsible'] = TRUE; + $form['fivestar']['#collapsed'] = !variable_get('fivestar_'. $form['#node_type']->type, 0); + $form['fivestar']['#description'] = t('To rate this content, enable Fivestar rating below. These settings will be used for both comments (if available) and direct rating.'); + $form['fivestar']['#theme'] = 'fivestar_node_type_form'; + $form['fivestar']['#attributes'] = array('id' => 'fivestar-node-type-form'); + $form['fivestar']['#group'] = 'additional_settings'; $form['fivestar']['fivestar'] = array( '#type' => 'checkbox',