From b75e43e08239503b67c2cedf7d51839bbe1688b9 Mon Sep 17 00:00:00 2001 From: vChabot Date: Wed, 1 Aug 2012 10:04:05 +0000 Subject: [PATCH] // fixing condition on "add root category" URL --- controllers/admin/AdminCategoriesController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/admin/AdminCategoriesController.php b/controllers/admin/AdminCategoriesController.php index e3e0079f6..d679c0107 100644 --- a/controllers/admin/AdminCategoriesController.php +++ b/controllers/admin/AdminCategoriesController.php @@ -216,7 +216,7 @@ class AdminCategoriesControllerCore extends AdminController { if (empty($this->display)) { - if (Shop::isFeatureActive()) + if (Configuration::get('PS_MULTISHOP_FEATURE_ACTIVE')) $this->toolbar_btn['new-url'] = array( 'href' => self::$currentIndex.'&add'.$this->table.'root&token='.$this->token, 'desc' => $this->l('Add new root category')