diff --git a/controllers/admin/AdminEmployeesController.php b/controllers/admin/AdminEmployeesController.php index 6091cb199..b8bf28e44 100644 --- a/controllers/admin/AdminEmployeesController.php +++ b/controllers/admin/AdminEmployeesController.php @@ -134,8 +134,7 @@ class AdminEmployeesControllerCore extends AdminController if ($this->context->employee->id == Tools::getValue('id_employee')) { $this->tabAccess['view'] = '1'; - if (!$this->tabAccess['edit']) - $this->restrict_edition = true; + $this->restrict_edition = true; $this->tabAccess['edit'] = '1'; } }