[-] Classes : #PSCFI-4477 : BugFix GSiteMap priority - Decimals no longer take care about local numeric separator

This commit is contained in:
François Gaillard
2011-12-19 09:37:38 +00:00
parent 1fc1b9f8a4
commit 642c5f096b
+1 -1
View File
@@ -309,7 +309,7 @@ XML;
{
$sitemap = $xml->addChild('url');
$sitemap->addChild('loc', htmlspecialchars($loc));
$sitemap->addChild('priority', $priority);
$sitemap->addChild('priority', number_format($priority,1,'.',''));
if ($last_mod)
$sitemap->addChild('lastmod', $last_mod);
$sitemap->addChild('changefreq', $change_freq);