// Fix operator priority bug on class Shop

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13130 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rGaillard
2012-02-08 14:26:14 +00:00
parent 732179078e
commit 8a5f37be1b
+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