Permalink
Browse files

Merge branch 'MDL-33560-22' of git://github.com/FMCorz/moodle into MO…

…ODLE_22_STABLE
  • Loading branch information...
2 parents 0319cba + eb51ce1 commit 0fd928ddeb35a4476a856538b35a1a107d652aa0 Sam Hemelryk committed Jul 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 enrol/self/locallib.php
View
4 enrol/self/locallib.php
@@ -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'));
}
@@ -128,4 +128,4 @@ public function validation($data, $files) {
return $errors;
}
-}
+}

0 comments on commit 0fd928d

Please sign in to comment.