Skip to content

Commit

Permalink
Merge pull request #4 from catalyst/catalyst-stable
Browse files Browse the repository at this point in the history
Fix to issue maths#1079: spelling mistake on questionvariable-qv.
  • Loading branch information
petersistrom authored Mar 6, 2024
2 parents f7d97d1 + 6eb78a1 commit 99ed83f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions question.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 99ed83f

Please sign in to comment.