[-] MO : Fixed bug #PSCFI-1574 - When only one language was activated iso code was still used.
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@6077 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -89,7 +89,7 @@ XML;
|
||||
|
||||
$xml = new SimpleXMLElement($xmlString);
|
||||
|
||||
if (Configuration::get('PS_REWRITING_SETTINGS'))
|
||||
if (Configuration::get('PS_REWRITING_SETTINGS') AND count($langs) > 1)
|
||||
foreach($langs as $lang)
|
||||
$this->_addSitemapNode($xml, Tools::getShopDomain(true, true).__PS_BASE_URI__.$lang['iso_code'].'/', '1.00', 'daily', date('Y-m-d'));
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user