From 368d3f03715c41180bc279f4f1653f0764c79ab7 Mon Sep 17 00:00:00 2001 From: tDidierjean Date: Wed, 11 Jan 2012 16:49:55 +0000 Subject: [PATCH] // Fix missing error message git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12373 b9a71923-0436-4b27-9f14-aed3839534dd --- controllers/admin/AdminCategoriesController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/controllers/admin/AdminCategoriesController.php b/controllers/admin/AdminCategoriesController.php index 99031d870..5fdc272ad 100644 --- a/controllers/admin/AdminCategoriesController.php +++ b/controllers/admin/AdminCategoriesController.php @@ -242,6 +242,8 @@ class AdminCategoriesControllerCore extends AdminController $this->action = 'add'.$this->table.'root'; $this->display = 'edit'; } + else + $this->errors[] = Tools::displayError('You do not have permission to edit here.'); parent::initProcess();