[-] Classes : #PSCFI-4477 : BugFix GSiteMap priority - Decimals no longer take care about local numeric separator
This commit is contained in:
1 parent
1fc1b9f8a4
commit
642c5f096b
1 file changed
+1
-1
@@ -309,7 +309,7 @@ XML;
|
|||||||
{
|
{
|
||||||
$sitemap = $xml->addChild('url');
|
$sitemap = $xml->addChild('url');
|
||||||
$sitemap->addChild('loc', htmlspecialchars($loc));
|
$sitemap->addChild('loc', htmlspecialchars($loc));
|
||||||
$sitemap->addChild('priority', $priority);
|
$sitemap->addChild('priority', number_format($priority,1,'.',''));
|
||||||
if ($last_mod)
|
if ($last_mod)
|
||||||
$sitemap->addChild('lastmod', $last_mod);
|
$sitemap->addChild('lastmod', $last_mod);
|
||||||
$sitemap->addChild('changefreq', $change_freq);
|
$sitemap->addChild('changefreq', $change_freq);
|
||||||
|
|||||||
Reference in new issue
Block a user