Skip to content

Commit 4940764

Browse files
committed
Fix fake_problem to work when periodic rerandomization is enabled
1 parent eef53f7 commit 4940764

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/WeBWorK/Utils/Tasks.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ sub fake_problem {
147147
$problem->last_answer("");
148148
$problem->num_correct(1000);
149149
$problem->num_incorrect(1000);
150+
$problem->prCount(0);
150151

151152
#for my $key (keys(%{$problem})){
152153
# my $value = '####UNDEF###';

0 commit comments

Comments
 (0)