// fixing condition on "add root category" URL

This commit is contained in:
vChabot
2012-08-01 10:04:05 +00:00
parent f07cdb768c
commit 77dcc42fc3
@@ -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')