diff --git a/question.php b/question.php index 0fbd261cf2a18daffd47448a20d8492bb748319e..b17da1f6e7dd7209b49b072d36beb17704e51004 100644 --- a/question.php +++ b/question.php @@ -1780,7 +1780,7 @@ class qtype_stack_question extends question_graded_automatically_with_countback * Currently the cache contains the following keys: * 'units' for declaring the units-mode. * 'forbiddenkeys' for the lsit of those. - * 'contextvariable-qv' the pre-validated question-variables which are context variables. + * 'contextvariables-qv' the pre-validated question-variables which are context variables. * 'statement-qv' the pre-validated question-variables. * 'preamble-qv' the matching blockexternals. * 'required' the lists of inputs required by given PRTs an array by PRT-name. @@ -1845,7 +1845,7 @@ class qtype_stack_question extends question_graded_automatically_with_countback if ($questionvariables === null || trim($questionvariables) === '') { $cc['statement-qv'] = null; $cc['preamble-qv'] = null; - $cc['contextvariable-qv'] = null; + $cc['contextvariables-qv'] = null; $cc['security-context'] = []; } else { $kv = new stack_cas_keyval($questionvariables, $options);