// Improve Shop::getTotalShops()

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15147 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-05-10 08:59:07 +00:00
parent 44b75d97c0
commit 14e44efe75
2 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -348,7 +348,7 @@ class HelperCore
public static function renderShopList()
{
if (!Shop::isFeatureActive() || count(Shop::getShops(false, null, true)) < 2)
if (!Shop::isFeatureActive() || Shop::getTotalShops(false, null) < 2)
return null;
$tree = Shop::getTree();