Skip to content

Commit

Permalink
Add missing prototypeextra field to Twig QUESTION variable. (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
wtrnoguchi authored Apr 19, 2024
1 parent f36b4df commit 0afdea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion question.php
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ protected function sanitised_clone_of_this() {
$clone = new stdClass();
$fieldsrequired = ['id', 'name', 'questiontext', 'generalfeedback',
'generalfeedbackformat', 'testcases',
'answer', 'answerpreload', 'language', 'globalextra', 'useace', 'sandbox',
'answer', 'answerpreload', 'language', 'globalextra', 'prototypeextra', 'useace', 'sandbox',
'grader', 'cputimelimitsecs', 'memlimitmb', 'sandboxparams',
'parameters', 'resultcolumns', 'allornothing', 'precheck',
'hidecheck', 'penaltyregime', 'iscombinatortemplate',
Expand Down

0 comments on commit 0afdea9

Please sign in to comment.