Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed incorrect assignment grades in gradebook when custom scales bug…

… #4279; merged from MOODLE_15_STABLE
  • Loading branch information...
commit de4564ee09637adae29a69b5c7dbb9e6140147c7 1 parent c86aa2a
skodak authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/assignment/lib.php
View
2  mod/assignment/lib.php
@@ -1577,7 +1577,7 @@ function assignment_grades($assignmentid) {
if ($scale = get_record('scale', 'id', $scaleid)) {
$scalegrades = make_menu_from_list($scale->scale);
foreach ($grades as $userid => $grade) {
- if (empty($scalegrades[$userid])) {
+ if (empty($scalegrades[$grade])) {
$grades[$userid] = '';
} else {
$grades[$userid] = $scalegrades[$grade];
Please sign in to comment.
Something went wrong with that request. Please try again.