mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
Some fixes to the enrolment page
This commit is contained in:
parent
70cc4fc602
commit
553924dc80
2 changed files with 39 additions and 44 deletions
|
@ -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) ) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue