// 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user