]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-10611 - backslashes in username get doubled up with an nonsuccessful log in
authorpoltawski <poltawski>
Sun, 23 Dec 2007 16:42:42 +0000 (16:42 +0000)
committerpoltawski <poltawski>
Sun, 23 Dec 2007 16:42:42 +0000 (16:42 +0000)
merged from MOODLE_18_STABLE

login/index_form.html

index 012075adf0e41592bee6a133130aab19dd305da5..bfed5054f76f40b156ee6b205248ba6e698c8e42 100644 (file)
@@ -30,7 +30,7 @@ if ($show_instructions) {
           <div class="loginform">
             <div class="form-label"><label for="username"><?php print_string("username") ?></label></div>
             <div class="form-input">
-              <input type="text" name="username" id="username" size="15" value="<?php p($frm->username) ?>" />
+              <input type="text" name="username" id="username" size="15" value="<?php p($frm->username, true) ?>" />
             </div>
             <div class="clearer"><!-- --></div>
             <div class="form-label"><label for="password"><?php print_string("password") ?></label></div>