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
......@@ -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,
);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment