diff --git a/contrib/location_addanother/location_addanother.module b/contrib/location_addanother/location_addanother.module index 8d146c9..7472a10 100644 --- a/contrib/location_addanother/location_addanother.module +++ b/contrib/location_addanother/location_addanother.module @@ -44,7 +44,7 @@ function location_addanother_form($form, &$form_state, &$node) { '#type' => 'location_element', '#title' => t('Add another location'), '#default_value' => NULL, - '#location_settings' => $settings['form']['fields'], + '#location_settings' => $settings, '#collapsible' => TRUE, '#collapsed' => TRUE, );