Permalink
Browse files

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

AMOS BEGIN
 MOV [invalidgradeitmeid,error],[invalidgradeitemid,error]
AMOS END
  • Loading branch information...
1 parent ead4f18 commit af4f61720d7312d5f508308093661907560c62d1 @andyjdavis andyjdavis committed Apr 6, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 grade/report/grader/ajax_callbacks.php
  2. +1 −1 grade/report/grader/lib.php
  3. +1 −1 lang/en/error.php
@@ -52,7 +52,7 @@
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 @@ public function process_data($data) {
}
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
@@ -289,7 +289,7 @@
$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';

0 comments on commit af4f617

Please sign in to comment.