Skip to content

Commit

Permalink
fixed wrong $options - this->keepdrop_options used instead
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Sep 15, 2007
1 parent fa1d88e commit 31314c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grade/edit/tree/category_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function definition() {
}

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);
Expand Down

0 comments on commit 31314c1

Please sign in to comment.