From 0afdea949d38c45ae27a1e09e067268de0d276fc Mon Sep 17 00:00:00 2001 From: Wataru Noguchi <45356424+wtrnoguchi@users.noreply.github.com> Date: Fri, 19 Apr 2024 10:04:50 +0900 Subject: [PATCH] Add missing prototypeextra field to Twig QUESTION variable. (#211) --- question.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question.php b/question.php index 3fb0d8a8..3b289d30 100644 --- a/question.php +++ b/question.php @@ -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',