XMLSiteMap fails when i18n is enabled because i18n_get_lang_prefix does not exists in i18n module for 6.x

In xmlsitemap.module, line 772:
if (module_exists('i18n')) {
i18n_get_lang_prefix($result, TRUE);
}

It fail when i 18n is installed because i18n for 6.x has dropped the i18n_get_lang_prefix function.

I suggest comment the code while it is fixed.

CommentFileSizeAuthor
#1 xmlsitemap_fix_i18n.txt706 byteswayland76
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

wayland76’s picture

Status: Active » Needs review
FileSize
706 bytes

This one's my fault. An earlier version of the 6.x patch had these already commented out. I now also realise why they worked on my test system. Patch attached.

Darren Oh’s picture

Status: Needs review » Fixed

Fixed in CVS commit 118256.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.