// Fix bug on auths for sub employees #PSFV-849

This commit is contained in:
rMalie
2012-04-23 09:38:24 +00:00
parent 64a05103a6
commit 22daabf9cb
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;
}