Skip to content

Commit 403be9f

Browse files
wtrnoguchitrampgeek
authored andcommitted
Add missing prototypeextra field to Twig QUESTION variable. (#211)
1 parent c2bbd17 commit 403be9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: question.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ protected function sanitised_clone_of_this() {
10201020
$clone = new stdClass();
10211021
$fieldsrequired = ['id', 'name', 'questiontext', 'generalfeedback',
10221022
'generalfeedbackformat', 'testcases',
1023-
'answer', 'answerpreload', 'language', 'globalextra', 'useace', 'sandbox',
1023+
'answer', 'answerpreload', 'language', 'globalextra', 'prototypeextra', 'useace', 'sandbox',
10241024
'grader', 'cputimelimitsecs', 'memlimitmb', 'sandboxparams',
10251025
'parameters', 'resultcolumns', 'allornothing', 'precheck',
10261026
'hidecheck', 'penaltyregime', 'iscombinatortemplate',

0 commit comments

Comments
 (0)