From: thepurpleblob Date: Tue, 11 Mar 2008 14:26:38 +0000 (+0000) Subject: MDL-13872: X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7f91ea90de9be9badeb75b6fd97cbe982ea796f6;p=moodle.git MDL-13872: Display a dash when no grade info, suppresses notice. Merged from STABLE_19 --- diff --git a/mod/assignment/index.php b/mod/assignment/index.php index 9a7a0c5cbe..334266e95b 100644 --- a/mod/assignment/index.php +++ b/mod/assignment/index.php @@ -90,6 +90,9 @@ if (isset($grading_info->items[0])) { $grade = $grading_info->items[0]->grades[$USER->id]->str_grade; } + else { + $grade = '-'; + } $type = $types[$cm->assignmenttype];