Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-qtype_stack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
moodle-qtype_stack
Commits
e92dce10
Commit
e92dce10
authored
1 year ago
by
Chris Sangwin
Browse files
Options
Downloads
Patches
Plain Diff
Fix to issue #1079: spelling mistake on questionvariable-qv.
parent
7f3d9c19
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
question.php
+2
-2
2 additions, 2 deletions
question.php
with
2 additions
and
2 deletions
question.php
+
2
−
2
View file @
e92dce10
...
@@ -1780,7 +1780,7 @@ class qtype_stack_question extends question_graded_automatically_with_countback
...
@@ -1780,7 +1780,7 @@ class qtype_stack_question extends question_graded_automatically_with_countback
* Currently the cache contains the following keys:
* Currently the cache contains the following keys:
* 'units' for declaring the units-mode.
* 'units' for declaring the units-mode.
* 'forbiddenkeys' for the lsit of those.
* 'forbiddenkeys' for the lsit of those.
* 'contextvariable-qv' the pre-validated question-variables which are context variables.
* 'contextvariable
s
-qv' the pre-validated question-variables which are context variables.
* 'statement-qv' the pre-validated question-variables.
* 'statement-qv' the pre-validated question-variables.
* 'preamble-qv' the matching blockexternals.
* 'preamble-qv' the matching blockexternals.
* 'required' the lists of inputs required by given PRTs an array by PRT-name.
* '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
...
@@ -1845,7 +1845,7 @@ class qtype_stack_question extends question_graded_automatically_with_countback
if
(
$questionvariables
===
null
||
trim
(
$questionvariables
)
===
''
)
{
if
(
$questionvariables
===
null
||
trim
(
$questionvariables
)
===
''
)
{
$cc
[
'statement-qv'
]
=
null
;
$cc
[
'statement-qv'
]
=
null
;
$cc
[
'preamble-qv'
]
=
null
;
$cc
[
'preamble-qv'
]
=
null
;
$cc
[
'contextvariable-qv'
]
=
null
;
$cc
[
'contextvariable
s
-qv'
]
=
null
;
$cc
[
'security-context'
]
=
[];
$cc
[
'security-context'
]
=
[];
}
else
{
}
else
{
$kv
=
new
stack_cas_keyval
(
$questionvariables
,
$options
);
$kv
=
new
stack_cas_keyval
(
$questionvariables
,
$options
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment