Commit 978d3045 authored by JPHuxley's avatar JPHuxley Committed by RenatoG

Issue #2831500 by JPHuxley, Chris2, RenatoG: Arabic Language encoding

parent a1f45b58
...@@ -235,7 +235,7 @@ function xmlsitemap_generate_chunk(stdClass $sitemap, XMLSitemapWriter $writer, ...@@ -235,7 +235,7 @@ function xmlsitemap_generate_chunk(stdClass $sitemap, XMLSitemapWriter $writer,
} }
$element = array(); $element = array();
$element['loc'] = $link_url; $element['loc'] = urldecode($link_url);
if ($link['lastmod']) { if ($link['lastmod']) {
if (!empty($output_elements['lastmod'])) { if (!empty($output_elements['lastmod'])) {
$element['lastmod'] = gmdate($lastmod_format, $link['lastmod']); $element['lastmod'] = gmdate($lastmod_format, $link['lastmod']);
......
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