// Removed FO call to shop->name instead of PS_SHOP_NAME
This commit is contained in:
1 parent
fdffbc7dc8
commit
22cd246e36
3 files changed
+2
-20
No files matched your search
@@ -1321,19 +1321,6 @@ class AdminControllerCore extends Controller
|
||||
'controller_name' => htmlentities(Tools::getValue('controller')),
|
||||
'currentIndex' => self::$currentIndex
|
||||
));
|
||||
|
||||
// Shop context
|
||||
if ($is_multishop)
|
||||
{
|
||||
if (Shop::getContext() == Shop::CONTEXT_SHOP)
|
||||
$shop_name = $this->context->shop->name;
|
||||
else
|
||||
$shop_name = 'PrestaShop';
|
||||
|
||||
$this->context->smarty->assign(array(
|
||||
'shop_name' => $shop_name,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user