Skip to content
Snippets Groups Projects
Commit f4d201bc authored by Dave Reid's avatar Dave Reid
Browse files

by Dave Reid: Convert to using objects for XML sitemaps instead of arrays.

parent 9156167e
Branches
Tags
No related merge requests found
......@@ -40,7 +40,7 @@ function xmlsitemap_i18n_form_xmlsitemap_sitemap_edit_form_alter(&$form, $form_s
'#type' => 'select',
'#title' => t('Language'),
'#options' => locale_language_list(),
'#default_value' => isset($form['#sitemap']->context['language']) ? $form['#sitemap->context['language'] : LANGUAGE_NONE,
'#default_value' => isset($form['#sitemap']->context['language']) ? $form['#sitemap']->context['language'] : LANGUAGE_NONE,
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment