Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'MDL-36223-23' of git://github.com/damyon/moodle into MO…

…ODLE_23_STABLE
  • Loading branch information...
commit 0edd01e9434d4438b18581401235db6a01e089d9 2 parents 4b5dcd7 + 53095b7
@danpoltawski danpoltawski authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/assign/lib.php
View
4 mod/assign/lib.php
@@ -1017,11 +1017,11 @@ function assign_user_outline($course, $user, $coursemodule, $assignment) {
$gradingitem = $gradinginfo->items[0];
$gradebookgrade = $gradingitem->grades[$user->id];
- if (!$gradebookgrade) {
+ if (empty($gradebookgrade->str_long_grade)) {
return null;
}
$result = new stdClass();
- $result->info = get_string('outlinegrade', 'assign', $gradebookgrade->grade);
+ $result->info = get_string('outlinegrade', 'assign', $gradebookgrade->str_long_grade);
$result->time = $gradebookgrade->dategraded;
return $result;
Please sign in to comment.
Something went wrong with that request. Please try again.