// Fix getProductLink (double slash when id_shop)

This commit is contained in:
gBrunier
2011-08-09 16:31:53 +00:00
parent 257b8e40cc
commit d86afe8436
+2 -2
View File
@@ -80,9 +80,9 @@ class LinkCore
// @todo use specific method ?
if ($id_shop && ($shop = Shop::getShop($id_shop)))
$url = 'http://'.$shop['domain'].'/'.$shop['uri'];
$url = 'http://'.$shop['domain'].$shop['uri'];
$url .= $this->getLangLink($id_lang);
if (!is_object($product))
$product = new Product($product, false, $id_lang);