From 642c5f096babe4ab7d58ac5e12cc2b43fe221b09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Gaillard?= Date: Mon, 19 Dec 2011 09:37:38 +0000 Subject: [PATCH] [-] Classes : #PSCFI-4477 : BugFix GSiteMap priority - Decimals no longer take care about local numeric separator --- modules/gsitemap/gsitemap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gsitemap/gsitemap.php b/modules/gsitemap/gsitemap.php index 48a33d4e9..108adef6a 100644 --- a/modules/gsitemap/gsitemap.php +++ b/modules/gsitemap/gsitemap.php @@ -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);