From 288d55b36e32cf6fea4119bbc18f240e1b951eae Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Thu, 2 Feb 2012 10:40:20 +0000 Subject: [PATCH] // Fix Bug with function ShopUrl::getMainShopDomainSSL --- classes/shop/ShopUrl.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/classes/shop/ShopUrl.php b/classes/shop/ShopUrl.php index 0d3880dc9..45695d940 100644 --- a/classes/shop/ShopUrl.php +++ b/classes/shop/ShopUrl.php @@ -149,15 +149,15 @@ class ShopUrlCore extends ObjectModel public static function getMainShopDomainSSL() { - if (!self::$main_domain) + if (!self::$main_domain_ssl) { - $sql = 'SELECT domain + $sql = 'SELECT domain_ssl FROM '._DB_PREFIX_.'shop_url WHERE main = 1 AND id_shop='.Context::getContext()->shop->getID(true); - self::$main_domain = Db::getInstance()->getValue($sql); + self::$main_domain_ssl = Db::getInstance()->getValue($sql); } - return self::$main_domain_ssl; + return self::$main_domain_ssl; } /**