From d0cf8fce1817eca29f565dd100265e1ef8ecebab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Thu, 11 Jul 2013 17:04:29 +0200 Subject: [PATCH] // small fix --- classes/Link.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Link.php b/classes/Link.php index 7c36c0e55..c5d76a38c 100644 --- a/classes/Link.php +++ b/classes/Link.php @@ -474,7 +474,7 @@ class LinkCore $shop = new Shop($id_shop); $uri_path = Dispatcher::getInstance()->createUrl($controller, $id_lang, $request, false, '', $id_shop); - $url = ($ssl && $this->ssl_enable) ? Tools::getShopDomainSsl(true) : Tools::getShopDomain(true); + $url = ($ssl && $this->ssl_enable) ? 'https://' : 'http://'; $url .= $shop->domain.$shop->getBaseURI().$this->getLangLink($id_lang).ltrim($uri_path, '/'); return $url;