// fixing condition on "add root category" URL
This commit is contained in:
@@ -216,7 +216,7 @@ class AdminCategoriesControllerCore extends AdminController
|
|||||||
{
|
{
|
||||||
if (empty($this->display))
|
if (empty($this->display))
|
||||||
{
|
{
|
||||||
if (Shop::isFeatureActive())
|
if (Configuration::get('PS_MULTISHOP_FEATURE_ACTIVE'))
|
||||||
$this->toolbar_btn['new-url'] = array(
|
$this->toolbar_btn['new-url'] = array(
|
||||||
'href' => self::$currentIndex.'&add'.$this->table.'root&token='.$this->token,
|
'href' => self::$currentIndex.'&add'.$this->table.'root&token='.$this->token,
|
||||||
'desc' => $this->l('Add new root category')
|
'desc' => $this->l('Add new root category')
|
||||||
|
|||||||
Reference in New Issue
Block a user