Some fixes to the enrolment page

This commit is contained in:
moodler 2005-03-04 01:53:53 +00:00
parent 70cc4fc602
commit 553924dc80
2 changed files with 39 additions and 44 deletions

View file

@ -203,6 +203,10 @@ function print_entry($course) {
function check_entry($form, $course) {
global $CFG, $USER, $SESSION, $THEME;
if (empty($form->password)) {
$form->password = '';
}
$groupid = $this->check_group_entry($course->id, $form->password);
if (($form->password == $course->password) or ($groupid !== false) ) {