// Fix product stocks on multishop
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15379 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -729,7 +729,10 @@ class AdminModulesControllerCore extends AdminController
|
||||
if (Shop::getContext() == Shop::CONTEXT_SHOP)
|
||||
$toolbar .= 'shop <b>'.$this->context->shop->name.'</b>';
|
||||
elseif (Shop::getContext() == Shop::CONTEXT_GROUP)
|
||||
$toolbar .= 'all shops of group shop <b>'.$this->context->shop->getGroup()->name.'</b>';
|
||||
{
|
||||
$shop_group = new ShopGroup((int)Shop::getContextShopGroupID())
|
||||
$toolbar .= 'all shops of group shop <b>'.$shop_group->name.'</b>';
|
||||
}
|
||||
else
|
||||
$toolbar .= 'all shops';
|
||||
$toolbar .= '</th>
|
||||
|
||||
Reference in New Issue
Block a user