From 2366a2cc8a9f51e0680aa24c47493883e373d11c 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 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16641 b9a71923-0436-4b27-9f14-aed3839534dd --- 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')