]> git.mjollnir.org Git - moodle.git/commitdiff
fixed wrong $options - this->keepdrop_options used instead
authorskodak <skodak>
Sat, 15 Sep 2007 13:23:28 +0000 (13:23 +0000)
committerskodak <skodak>
Sat, 15 Sep 2007 13:23:28 +0000 (13:23 +0000)
grade/edit/tree/category_form.php

index 134eb525a7e5e8a421812cf5419341258d244a92..c78f851a10b240e1393bc0e63380fc600569838c 100644 (file)
@@ -73,7 +73,7 @@ class edit_category_form extends moodleform {
         }
 
         if ($CFG->grade_droplow == -1) {
-            $mform->addElement('select', 'droplow', get_string('droplow', 'grades'), $options);
+            $mform->addElement('select', 'droplow', get_string('droplow', 'grades'), $this->keepdrop_options);
             $mform->setHelpButton('droplow', array(false, get_string('droplow', 'grades'),
                               false, true, false, get_string('droplowhelp', 'grades')));
             $mform->disabledIf('droplow', 'keephigh', 'noteq', 0);