Skip to content

Commit

Permalink
Merge branch 'MDL-33560-22' of git://github.com/FMCorz/moodle into MO…
Browse files Browse the repository at this point in the history
…ODLE_22_STABLE
  • Loading branch information
Sam Hemelryk committed Jul 23, 2012
2 parents 0319cba + eb51ce1 commit 0fd928d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions enrol/self/locallib.php
Expand Up @@ -67,7 +67,7 @@ public function definition() {
if ($instance->password) {
//change the id of self enrolment key input as there can be multiple self enrolment methods
$mform->addElement('passwordunmask', 'enrolpassword', get_string('password', 'enrol_self'),
array('id' => $instance->id."_enrolpassword"));
array('id' => 'enrolpassword_'.$instance->id));
} else {
$mform->addElement('static', 'nokey', '', get_string('nopassword', 'enrol_self'));
}
Expand Down Expand Up @@ -128,4 +128,4 @@ public function validation($data, $files) {

return $errors;
}
}
}

0 comments on commit 0fd928d

Please sign in to comment.