Commit 59c002d0 authored by Dave Reid's avatar Dave Reid
Browse files

#921644 by Dave Reid: Fixed sitemap arrays being passed to xmlsitemap_sitemap_save().

parent 51476111
......@@ -34,6 +34,7 @@ class XMLSitemapI18nWebTestCase extends XMLSitemapTestHelper {
$sitemap = new stdClass();
$sitemap->context = array('language' => 'en');
xmlsitemap_sitemap_save($sitemap);
$sitemap = new stdClass();
$sitemap->context['language'] = 'fr';
xmlsitemap_sitemap_save($sitemap);
}
......
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