Skip to content

Commit 0afdea9

Browse files
authored
Add missing prototypeextra field to Twig QUESTION variable. (#211)
1 parent f36b4df commit 0afdea9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

question.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ protected function sanitised_clone_of_this() {
981981
$clone = new stdClass();
982982
$fieldsrequired = ['id', 'name', 'questiontext', 'generalfeedback',
983983
'generalfeedbackformat', 'testcases',
984-
'answer', 'answerpreload', 'language', 'globalextra', 'useace', 'sandbox',
984+
'answer', 'answerpreload', 'language', 'globalextra', 'prototypeextra', 'useace', 'sandbox',
985985
'grader', 'cputimelimitsecs', 'memlimitmb', 'sandboxparams',
986986
'parameters', 'resultcolumns', 'allornothing', 'precheck',
987987
'hidecheck', 'penaltyregime', 'iscombinatortemplate',

0 commit comments

Comments
 (0)