From d36b369b454bb45315074f51e1f48003dedbc65e Mon Sep 17 00:00:00 2001 From: gBrunier Date: Tue, 9 Aug 2011 16:31:53 +0000 Subject: [PATCH] // 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 --- classes/Link.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/Link.php b/classes/Link.php index 055a674ae..3614a08a9 100644 --- a/classes/Link.php +++ b/classes/Link.php @@ -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);