// fixing condition on "add root category" URL

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