diff --git a/templates/ContentGenerator/GatewayQuiz.html.ep b/templates/ContentGenerator/GatewayQuiz.html.ep index 4b35ff4100..04a9d457ac 100644 --- a/templates/ContentGenerator/GatewayQuiz.html.ep +++ b/templates/ContentGenerator/GatewayQuiz.html.ep @@ -589,7 +589,8 @@ % } % # Store the problem status for continued attempts recording. - <%= hidden_field 'probstatus' . ($probOrder->[$i] + 1) => $c->{probStatus}[ $probOrder->[$i] ] =%> + <%= hidden_field 'probstatus' . ($problems->[ $probOrder->[$i] ]{problem_id}) + => $c->{probStatus}[ $probOrder->[$i] ] =%> %
% } else { @@ -605,7 +606,8 @@ % } % } % # Store the problem status for continued attempts recording. - <%= hidden_field 'probstatus' . ($probOrder->[$i] + 1) => $c->{probStatus}[ $probOrder->[$i] ] %> + <%= hidden_field 'probstatus' . ($problems->[ $probOrder->[$i] ]{problem_id}) + => $c->{probStatus}[ $probOrder->[$i] ] %> % } % } %