// 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:
rMalie
2012-04-23 09:38:24 +00:00
parent a8569d1496
commit 60a140c91f
7 changed files with 104 additions and 80 deletions
+1 -1
View File
@@ -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;
}