]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-9485 resource summary now optional again; merged from MOODLE_18_STABLE
authorskodak <skodak>
Tue, 24 Apr 2007 21:11:39 +0000 (21:11 +0000)
committerskodak <skodak>
Tue, 24 Apr 2007 21:11:39 +0000 (21:11 +0000)
mod/resource/mod_form.php

index 37e59b5d1c08a3fa12fedc7aafa565d9258c5e55..b327ad0175317ef8e5ff55b337016c81ec77e199 100644 (file)
@@ -37,7 +37,8 @@ class mod_resource_mod_form extends moodleform_mod {
         $mform->addElement('htmleditor', 'summary', get_string('summary'));
         $mform->setType('summary', PARAM_RAW);
         $mform->setHelpButton('summary', array('summary', get_string('summary'), 'resource'));
-        $mform->addRule('summary', get_string('required'), 'required', null, 'client');
+        // summary should be optional again MDL-9485
+        //$mform->addRule('summary', get_string('required'), 'required', null, 'client');
 
         $mform->addElement('header', 'typedesc', get_string('resourcetype'.$type,'resource'));
         $this->_resinstance->setup_elements($mform);