diff --git a/controllers/admin/AdminEmployeesController.php b/controllers/admin/AdminEmployeesController.php index a6e770a54..39cba1f8b 100644 --- a/controllers/admin/AdminEmployeesController.php +++ b/controllers/admin/AdminEmployeesController.php @@ -159,9 +159,9 @@ class AdminEmployeesControllerCore extends AdminController // An employee can edit its own profile if ($this->context->employee->id == Tools::getValue('id_employee')) { - $this->tabAccess['view'] = '1'; + $this->tabAccess['view'] = 1; $this->restrict_edition = true; - $this->tabAccess['edit'] = '1'; + $this->tabAccess['edit'] = 1; } }