// Remove add category on edit

This commit is contained in:
Jerome Nadaud committed 2013-11-29 18:08:01 +01:00
1 parent fbf2c26093
commit 8dae23891a
1 file changed
+1 -1
@@ -162,7 +162,7 @@ class AdminCategoriesControllerCore extends AdminController
{
parent::initPageHeaderToolbar();
if ($this->display != 'add')
if ($this->display != 'edit' && $this->display != 'add')
$this->page_header_toolbar_btn['new_category'] = array(
'href' => self::$currentIndex.'&addcategory&token='.$this->token,
'desc' => $this->l('Add new category'),