From d82cb0cf206700dbcb56a3df087f12ec9c682ed2 Mon Sep 17 00:00:00 2001 From: Michael <Chefkeks@users.noreply.github.com> Date: Thu, 14 Apr 2016 21:26:44 +0200 Subject: [PATCH] Update class.staff.php Missing m in department --- include/class.staff.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class.staff.php b/include/class.staff.php index 8cc30b7db..6a2f2646b 100644 --- a/include/class.staff.php +++ b/include/class.staff.php @@ -1088,7 +1088,7 @@ implements AuthenticatedUser, EmailContact, TemplateVariable { if (!$role_id || !Role::lookup($role_id)) $errors['dept_access'][$dept_id] = __('Select a valid role'); if (!$dept_id || !Dept::lookup($dept_id)) - $errors['dept_access'][$dept_id] = __('Select a valid departent'); + $errors['dept_access'][$dept_id] = __('Select a valid department'); if ($dept_id == $this->getDeptId()) $errors['dept_access'][$dept_id] = __('Agent already has access to this department'); $da = $this->dept_access->findFirst(array('dept_id' => $dept_id)); -- GitLab