From: toyomoyo Date: Fri, 22 Dec 2006 04:23:43 +0000 (+0000) Subject: taking out unwanted/broken strings from mod_form to make form xhtml strict MDL-7861 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=62215411392bcf546effe1c0a5711c334f8bdf53;p=moodle.git taking out unwanted/broken strings from mod_form to make form xhtml strict MDL-7861 --- diff --git a/mod/glossary/mod_form.php b/mod/glossary/mod_form.php index ce99e581ce..32a6f52243 100644 --- a/mod/glossary/mod_form.php +++ b/mod/glossary/mod_form.php @@ -37,7 +37,7 @@ class glossary_mod_form extends moodleform_mod { $mform->setHelpButton('mainglossary', array('mainglossary', get_string('mainglossary', 'glossary'), 'glossary')); $mform->setDefault('mainglossary', 0); - $mform->addElement('selectyesno', 'allowduplicatedentries', get_string('allowduplicatedentries', 'glossary'), $options); + $mform->addElement('selectyesno', 'allowduplicatedentries', get_string('allowduplicatedentries', 'glossary')); $mform->setDefault('allowduplicatedentries', $CFG->glossary_dupentries); $mform->setHelpButton('allowduplicatedentries', array('allowduplicatedentries', get_string('allowduplicatedentries', 'glossary'), 'glossary'));