]> git.mjollnir.org Git - moodle.git/commitdiff
Change the config.html form to match changes made in mod_form ages ago. Oops!
authortjhunt <tjhunt>
Mon, 30 Jul 2007 09:41:31 +0000 (09:41 +0000)
committertjhunt <tjhunt>
Mon, 30 Jul 2007 09:41:31 +0000 (09:41 +0000)
mod/quiz/config.html

index aed19c2dccc3ef7e70b2c68e7683466e9a9b3c12..da47c135a71e75d2b81d4621e7425e36393b0843 100644 (file)
@@ -38,7 +38,7 @@
         $form->questions = "";
     }
     if (!isset($form->password)) {
-        $form->password = $CFG->quiz_password;
+        $form->quizpassword = $CFG->quiz_password;
     }
     if (!isset($form->subnet)) {
         $form->subnet = $CFG->quiz_subnet;
 <tr valign="top">
   <td align="right"><b><?php print_string("requirepassword", "quiz") ?>:</b></td>
   <td>
-    <input type="text" name="password" size="20" value="<?php p($form->password) ?>" />
+    <input type="text" name="quizpassword" size="20" value="<?php p($form->quizpassword) ?>" />
     <?php helpbutton("requirepassword", get_string("requirepassword", "quiz"), "quiz"); ?>
   </td>
   <td align="center">