From 34360f816500e73e4a3f9d7e536b87bc7bb64819 Mon Sep 17 00:00:00 2001 From: rGaillard Date: Wed, 8 Feb 2012 14:55:47 +0000 Subject: [PATCH] // Debug --- classes/shop/Shop.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/shop/Shop.php b/classes/shop/Shop.php index 8df5c618d..fffadb838 100644 --- a/classes/shop/Shop.php +++ b/classes/shop/Shop.php @@ -237,7 +237,7 @@ class ShopCore extends ObjectModel $excluded_uris[] = $directory; // Find current shop from URL - if ((!$id_shop = Tools::getValue('id_shop')) && !defined('_PS_ADMIN_DIR_')) + if (!$id_shop = Tools::getValue('id_shop') && !defined('_PS_ADMIN_DIR_')) { $sql = 'SELECT s.id_shop, CONCAT(su.physical_uri, su.virtual_uri) AS uri, su.domain, su.main FROM '._DB_PREFIX_.'shop_url su