gradebook MDL-22521 fixed a get_string call to a non-existent string

This commit is contained in:
Andrew Davis 2010-05-20 05:57:42 +00:00
parent 73753e866d
commit 1c349e9524

View File

@ -142,7 +142,7 @@ class edit_category_form extends moodleform {
}
}
$mform->addElement('select', 'grade_item_scaleid', get_string('scale'), $options);
$mform->setHelpButton('grade_item_scaleid', array('scaleid', get_string('scaleid', 'grades'), 'grade'), true);
$mform->setHelpButton('grade_item_scaleid', array('scaleid', get_string('scale'), 'grade'), true);
$mform->disabledIf('grade_item_scaleid', 'grade_item_gradetype', 'noteq', GRADE_TYPE_SCALE);
$mform->disabledIf('grade_item_scaleid', 'aggregation', 'eq', GRADE_AGGREGATE_SUM);