fixed wrong $options - this->keepdrop_options used instead

This commit is contained in:
skodak 2007-09-15 13:23:28 +00:00
parent fa1d88eb33
commit 31314c1270

View 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);