diff --git a/Modules/StudyProgramme/classes/class.ilObjStudyProgrammeMembersGUI.php b/Modules/StudyProgramme/classes/class.ilObjStudyProgrammeMembersGUI.php index 93f55291c11a..ce24183d9930 100644 --- a/Modules/StudyProgramme/classes/class.ilObjStudyProgrammeMembersGUI.php +++ b/Modules/StudyProgramme/classes/class.ilObjStudyProgrammeMembersGUI.php @@ -1029,7 +1029,7 @@ protected function showMessages(ilPRGMessageCollection $msg): void protected function mailToSelectedUsers(): void { - $dic = ilStudyProgrammeDIC::dic(); + $dic = ilStudyProgrammeDIC::specificDicFor($this->object); $gui = $dic['ilStudyProgrammeMailMemberSearchGUI']; $selected = $this->getPostPrgsIds();