Permalink
Browse files

fixed incorrect assignment grades in gradebook when custom scales bug…

… #4279; merged from MOODLE_15_STABLE
  • Loading branch information...
1 parent c86aa2a commit de4564ee09637adae29a69b5c7dbb9e6140147c7 skodak committed Nov 9, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/assignment/lib.php
View
@@ -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];

0 comments on commit de4564e

Please sign in to comment.