// 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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user