Skip to content

Commit

Permalink
Merge branch 'MDL-30893-master' of git://github.com/ankitagarwal/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Hemelryk committed Mar 4, 2012
2 parents 936deb7 + cc4e047 commit 0170ada
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions login/forgot_password_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ function definition() {
$mform->setType('username', PARAM_RAW);

$submitlabel = get_string('search');
$mform->addElement('submit', 'submitbutton', $submitlabel);
$mform->addElement('submit', 'submitbuttonusername', $submitlabel);

$mform->addElement('header', '', get_string('searchbyemail'), '');

$mform->addElement('text', 'email', get_string('email'));
$mform->setType('email', PARAM_RAW);

$submitlabel = get_string('search');
$mform->addElement('submit', 'submitbutton', $submitlabel);
$mform->addElement('submit', 'submitbuttonemail', $submitlabel);
}

function validation($data, $files) {
Expand Down

0 comments on commit 0170ada

Please sign in to comment.