// Fix Shop::isFeatureActive() #PSCFV-2609

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15732 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-05-29 12:05:13 +00:00
parent 1ce10c7355
commit 855f72be70
2 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -790,7 +790,7 @@ class ShopCore extends ObjectModel
static $feature_active = null;
if ($feature_active === null)
$feature_active = Configuration::get('PS_MULTISHOP_FEATURE_ACTIVE') && (count(Db::getInstance()->getValue('SELECT COUNT(*) FROM '._DB_PREFIX_.'shop')) > 1);
$feature_active = Configuration::get('PS_MULTISHOP_FEATURE_ACTIVE') && (Db::getInstance()->getValue('SELECT COUNT(*) FROM '._DB_PREFIX_.'shop') > 1);
return $feature_active;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 1010 B