MDL-32191 grade:renamed a mis-spelled string name

AMOS BEGIN
 MOV [invalidgradeitmeid,error],[invalidgradeitemid,error]
AMOS END
This commit is contained in:
Andrew Davis 2012-04-06 11:16:55 +07:00
parent ead4f180a0
commit af4f61720d
3 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ switch ($action) {
if (!empty($userid) && !empty($itemid) && $newvalue !== false && !empty($type)) {
// Save the grade or feedback
if (!$grade_item = grade_item::fetch(array('id'=>$itemid, 'courseid'=>$courseid))) { // we must verify course id here!
print_error('invalidgradeitmeid');
print_error('invalidgradeitemid');
}
/**

View File

@ -199,7 +199,7 @@ class grade_report_grader extends grade_report {
}
if (!$gradeitem = grade_item::fetch(array('id'=>$itemid, 'courseid'=>$this->courseid))) { // we must verify course id here!
print_error('invalidgradeitmeid');
print_error('invalidgradeitemid');
}
// Pre-process grade

View File

@ -289,7 +289,7 @@ $string['invalidfiletype'] = '"{$a}" is not a valid file type';
$string['invalidformatpara'] = 'Incorrect format for choose parameter';
$string['invalidformdata'] = 'Incorrect form data';
$string['invalidfunction'] = 'Incorrect function';
$string['invalidgradeitmeid'] = 'Incorrect grade item id';
$string['invalidgradeitemid'] = 'Incorrect grade item id';
$string['invalidgroupid'] = 'Incorrect group id specified';
$string['invalidipformat'] = 'Invalid IP address format';
$string['invaliditemid'] = 'Incorrect item id';