From 6eb78a1d0fb4e178091898b8ca09b3a0d69723d6 Mon Sep 17 00:00:00 2001 From: Chris Sangwin Date: Fri, 1 Dec 2023 10:27:40 +0000 Subject: [PATCH] Fix to issue #1079: spelling mistake on questionvariable-qv. --- question.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/question.php b/question.php index 144cba2dec5..2b5d3189bda 100644 --- a/question.php +++ b/question.php @@ -1657,7 +1657,7 @@ public function get_cached(string $key) { * 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. @@ -1721,7 +1721,7 @@ public static function compile($id, $questionvariables, $inputs, $prts, $options 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);