[-] MO - gsitemap : Fixed bug preventing the generation of sitemap
This commit is contained in:
1 parent
4f93a293f5
commit
cc815821ce
1 file changed
+1
-1
@@ -104,7 +104,7 @@ xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
|
|||||||
XML;
|
XML;
|
||||||
$xml = new SimpleXMLElement($xmlString);
|
$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
|
FROM '._DB_PREFIX_.'shop s
|
||||||
INNER JOIN '._DB_PREFIX_.'shop_url su ON s.id_shop = su.id_shop AND su.main = 1
|
INNER JOIN '._DB_PREFIX_.'shop_url su ON s.id_shop = su.id_shop AND su.main = 1
|
||||||
WHERE s.active = 1
|
WHERE s.active = 1
|
||||||
|
|||||||
Reference in new issue
Block a user