Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'MDL-32192_copy_string_21' of git://github.com/andyjdavi…

…s/moodle into MOODLE_21_STABLE
  • Loading branch information...
commit 7a48124d69d5e18f75c19a7040bc2a41439e5c2c 2 parents 7546de2 + 24ca82d
@stronk7 stronk7 authored
View
2  grade/report/grader/ajax_callbacks.php
@@ -46,7 +46,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');
}
/**
View
2  grade/report/grader/lib.php
@@ -197,7 +197,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
1  lang/en/error.php
@@ -287,6 +287,7 @@
$string['invalidformatpara'] = 'Incorrect format for choose parameter';
$string['invalidformdata'] = 'Incorrect form data';
$string['invalidfunction'] = 'Incorrect function';
+$string['invalidgradeitemid'] = 'Incorrect grade item id';
$string['invalidgradeitmeid'] = 'Incorrect grade item id';
$string['invalidgroupid'] = 'Incorrect group id specified';
$string['invalidipformat'] = 'Invalid IP address format';

0 comments on commit 7a48124

Please sign in to comment.
Something went wrong with that request. Please try again.