Skip to content
Snippets Groups Projects
Commit d82cb0cf authored by Michael's avatar Michael
Browse files

Update class.staff.php

Missing m in department
parent 4952b5e5
No related branches found
No related tags found
No related merge requests found
......@@ -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));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment