Skip to content

Commit

Permalink
Merge branch 'MDL-32192_rename_string' of git://github.com/andyjdavis…
Browse files Browse the repository at this point in the history
…/moodle
  • Loading branch information
stronk7 committed Apr 25, 2012
2 parents 9c51f67 + af4f617 commit e69ac15
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion grade/report/grader/ajax_callbacks.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion grade/report/grader/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lang/en/error.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit e69ac15

Please sign in to comment.