// 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:
+1
-1
@@ -80,7 +80,7 @@ class LinkCore
|
|||||||
|
|
||||||
// @todo use specific method ?
|
// @todo use specific method ?
|
||||||
if ($id_shop && ($shop = Shop::getShop($id_shop)))
|
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);
|
$url .= $this->getLangLink($id_lang);
|
||||||
|
|
||||||
if (!is_object($product))
|
if (!is_object($product))
|
||||||
|
|||||||
Reference in New Issue
Block a user