Skip to content
Snippets Groups Projects
Commit 7d325479 authored by Michaela Brückner's avatar Michaela Brückner :unicorn:
Browse files

error message for students, re #9569

parent 5d735da4
No related branches found
No related tags found
No related merge requests found
......@@ -124,7 +124,11 @@ class CourseMemberAdmission extends AdmissionRule
$errors[] = $this->getMessage(Course::find($course_id));
}
}
if (count($errors) < count(json_decode($this->courses_to_add))) {
$errors = [];
}
}
return $errors;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment