We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 27cda6d + 516ccb7 commit d6b3307Copy full SHA for d6b3307
lib/WeBWorK/ContentGenerator/Grades.pm
@@ -505,7 +505,7 @@ sub grade_set {
505
# the problem is marked as attempted if the status has
506
# been set or if the problem has been attempted
507
# DBFIXME this should happen in the database layer, not here!
508
- if (!$attempted && ($status || $num_of_attempts)) {
+ if (!$attempted && ($status || $num_correct || $num_incorrect )) {
509
$attempted = 1;
510
$problemRecord->attempted('1');
511
# DBFIXME: this is another case where it
0 commit comments