// Fix bug on auths for sub employees #PSFV-849
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14804 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -757,7 +757,7 @@ class ShopCore extends ObjectModel
|
||||
static $total = null;
|
||||
|
||||
if (is_null($total))
|
||||
$total = Shop::getTotalShops(true);
|
||||
$total = Db::getInstance()->getValue('SELECT COUNT(*) FROM '._DB_PREFIX_.'shop');
|
||||
return ($total > 1) ? true : false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user