[-] MO - gsitemap : Fixed bug preventing the generation of sitemap

This commit is contained in:
hAitmansour
2011-11-03 10:11:15 +00:00
parent 4f93a293f5
commit cc815821ce
+1 -1
View File
@@ -104,7 +104,7 @@ xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
XML;
$xml = new SimpleXMLElement($xmlString);
$sql = 'SELECT s.id_shop, su.domain, su.domain_ssl, su.uri
$sql = 'SELECT s.id_shop, su.domain, su.domain_ssl, CONCAT(su.physical_uri, su.virtual_uri) as uri
FROM '._DB_PREFIX_.'shop s
INNER JOIN '._DB_PREFIX_.'shop_url su ON s.id_shop = su.id_shop AND su.main = 1
WHERE s.active = 1