Solution for bug 1258 I think ... needs testing

This commit is contained in:
moodler
2004-04-24 15:08:57 +00:00
parent bbb56db78a
commit 5c87e15a0a
+1 -1
View File
@@ -569,7 +569,7 @@ function assignment_print_feedback($course, $submission) {
echo "\n<TR><TD WIDTH=100% BGCOLOR=\"$THEME->cellcontent\">";
echo "<P ALIGN=RIGHT><FONT SIZE=-1><I>";
if ($submission->grade) {
if ($submission->grade or $submission->timemarked) {
echo get_string("grade").": $submission->grade";
} else {
echo get_string("nograde");