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

This commit is contained in:
rMalie
2012-05-29 12:05:13 +00:00
parent e3cf7f8b35
commit 50b3bbbc84
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