// Fix missing error message
This commit is contained in:
@@ -242,6 +242,8 @@ class AdminCategoriesControllerCore extends AdminController
|
|||||||
$this->action = 'add'.$this->table.'root';
|
$this->action = 'add'.$this->table.'root';
|
||||||
$this->display = 'edit';
|
$this->display = 'edit';
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
$this->errors[] = Tools::displayError('You do not have permission to edit here.');
|
||||||
|
|
||||||
parent::initProcess();
|
parent::initProcess();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user