// Remove add category on edit
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user