diff --git a/src/Staff/CourseAdministration/CourseAdministration.php b/src/Staff/CourseAdministration/CourseAdministration.php index 12a404e5..fc590246 100644 --- a/src/Staff/CourseAdministration/CourseAdministration.php +++ b/src/Staff/CourseAdministration/CourseAdministration.php @@ -106,7 +106,7 @@ function (/*ilMStListUser*/ $user) use ($filter): bool { if ($filter["org_units_subsequent"]) { foreach ($filter["org_units"] as $org_unit_ref_id) { - $org_units = array_merge($org_units, self::dic()->repositoryTree()->getSubTree(self::dic()->tree()->getNodeData($org_unit_ref_id), false)); + $org_units = array_merge($org_units, self::dic()->repositoryTree()->getSubTree(self::dic()->repositoryTree()->getNodeData($org_unit_ref_id), false)); } }