Index: category_form.php =================================================================== RCS file: /cvsroot/moodle/moodle/grade/edit/tree/category_form.php,v retrieving revision 1.9.2.2 diff -u -r1.9.2.2 category_form.php --- category_form.php 20 Oct 2007 15:11:48 -0000 1.9.2.2 +++ category_form.php 12 Nov 2007 23:57:16 -0000 @@ -42,7 +42,8 @@ // visible elements $mform->addElement('header', 'gradecat', get_string('gradecategory', 'grades')); $mform->addElement('text', 'fullname', get_string('categoryname', 'grades')); - + $mform->addRule('fullname', null, 'required', null, 'client'); + $mform->addElement('select', 'aggregation', get_string('aggregation', 'grades'), $options); $mform->setHelpButton('aggregation', array('aggregation', get_string('aggregation', 'grades'), 'grade'));