// Fix getProductLink (double slash when id_shop)

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7977 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
gBrunier
2011-08-09 16:31:53 +00:00
parent 671162a5f5
commit d36b369b45
+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);