// Fix operator priority bug on class Shop

This commit is contained in:
rGaillard
2012-02-08 14:26:14 +00:00
parent 1daad926c4
commit 217ba9bbaa
+1 -1
View File
@@ -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