From: jamiesensei Date: Tue, 13 Mar 2007 14:50:22 +0000 (+0000) Subject: small change to fix MDL-8788 which was a problem with non unique header element names X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=24e25bc124025a4dac6c461191a30305e45521e7;p=moodle.git small change to fix MDL-8788 which was a problem with non unique header element names --- diff --git a/course/moodleform_mod.php b/course/moodleform_mod.php index dcf6f14415..3a8b0482df 100644 --- a/course/moodleform_mod.php +++ b/course/moodleform_mod.php @@ -63,7 +63,7 @@ class moodleform_mod extends moodleform { */ function standard_coursemodule_elements($supportsgroups=true){ $mform =& $this->_form; - $mform->addElement('header', '', get_string('modstandardels', 'form')); + $mform->addElement('header', 'modstandardelshdr', get_string('modstandardels', 'form')); if ($supportsgroups){ $mform->addElement('modgroupmode', 'groupmode', get_string('groupmode')); }