Skip to content
Snippets Groups Projects
Commit 390a21de authored by Jared Hancock's avatar Jared Hancock
Browse files

Fix crash sending emails to department members

parent 37a0676b
No related branches found
No related tags found
No related merge requests found
......@@ -215,7 +215,7 @@ implements TemplateVariable {
'dept_id' => $this->getId(),
// NOTE: Manager is excluded here if not a member
Q::all(array(
'group_membership' => self::ALERTS_DEPT_AND_EXTENDED,
'dept_access__dept__group_membership' => self::ALERTS_DEPT_AND_EXTENDED,
'dept_access__flags__hasbit' => StaffDeptAccess::FLAG_ALERTS,
)),
)));
......
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