// fixing condition on "add root category" URL
This commit is contained in:
1 parent
d5cb1e8c4e
commit
b75e43e082
1 file changed
+1
-1
@@ -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