--- contrib/location/location.module 2007-01-04 21:34:23.000000000 -0500 +++ custom/location/location.module 2007-01-09 15:42:25.000000000 -0500 @@ -640,7 +640,7 @@ '#type' => 'fieldset', '#title' => t('Location(s)'), '#tree' => TRUE, - '#attributes' => array_merge($form['locations']['#attributes'], array('class' => 'locations')), + '#attributes' => $form['locations']['#attributes'] ? array_merge($form['locations']['#attributes'], array('class' => 'locations')) : array('class' => 'locations'), '#weight' => variable_get('location_weight_'. $form['type']['#value'], 9), '#collapsible' => variable_get('location_collapsible_'. $form['type']['#value'], 0) == 0 ? FALSE : TRUE, '#collapsed' => variable_get('location_collapsed_'. $form['type']['#value'], 0) == 0 ? FALSE : TRUE