Commit e4c0cfbd authored by erdembey's avatar erdembey Committed by Dave Reid
Browse files

Issue #809674: Fixed call to undefind function i18n_default_language().

parent 7a94e4cc
......@@ -76,7 +76,7 @@ function xmlsitemap_i18n_query_xmlsitemap_generate_alter(QueryAlterableInterface
// Get languages to simplify query building.
$current = $sitemap->context['language'];
$default = i18n_default_language();
$default = language_default();
if ($mode == 'mixed' && $current == $default) {
// If mode is mixed but current = default, is the same as 'simple'.
Markdown is supported
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