[-] Classes : #PSCFI-4477 : BugFix GSiteMap priority - Decimals no longer take care about local numeric separator
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11338 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
21d4c051bd
commit
82419c80aa
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