mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-32191 grade:renamed a mis-spelled string name
AMOS BEGIN MOV [invalidgradeitmeid,error],[invalidgradeitemid,error] AMOS END
This commit is contained in:
parent
ead4f180a0
commit
af4f61720d
@ -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');
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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
|
||||
|
@ -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';
|
||||
|
Loading…
x
Reference in New Issue
Block a user