diff --git a/include/class.dept.php b/include/class.dept.php index 9979d2d0cf31f93627367c4bb8b62bfd3a53de6c..bcdfecf07cb21692ba76f580ee924af4c848e0f2 100644 --- a/include/class.dept.php +++ b/include/class.dept.php @@ -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, )), )));