diff --git a/lib/WeBWorK/Utils/Sets.pm b/lib/WeBWorK/Utils/Sets.pm index 01ab657526..d0193ddfba 100644 --- a/lib/WeBWorK/Utils/Sets.pm +++ b/lib/WeBWorK/Utils/Sets.pm @@ -103,7 +103,7 @@ sub grade_set ($db, $set, $studentName, $setIsVersioned = 0, $wantProblemDetails $status = 1 if $status > 1; if ($wantProblemDetails) { - push(@$problem_scores, $problemRecord->attempted ? 100 * wwRound(2, $status) : ' . '); + push(@$problem_scores, $status || $problemRecord->attempted ? 100 * wwRound(2, $status) : ' . '); push(@$problem_incorrect_attempts, $problemRecord->num_incorrect || 0); }