Skip to content
Snippets Groups Projects
Commit 903d077d authored by Chris Sangwin's avatar Chris Sangwin
Browse files

Fix to issue #1224: import of question descriptions.

parent 5d000435
No related branches found
No related tags found
No related merge requests found
......@@ -47,6 +47,7 @@ class backup_qtype_stack_plugin extends backup_qtype_plugin {
$stackoptions = new backup_nested_element('stackoptions', ['id'],
[
'stackversion', 'questionvariables', 'specificfeedback', 'specificfeedbackformat',
'questiondescription', 'questiondescriptionformat',
'questionnote', 'questionnoteformat', 'questionsimplify', 'assumepositive', 'assumereal',
'prtcorrect', 'prtcorrectformat', 'prtpartiallycorrect', 'prtpartiallycorrectformat',
'prtincorrect', 'prtincorrectformat',
......
......@@ -87,7 +87,7 @@ class stack_ast_filter_996_call_modification implements stack_cas_astfilter {
// The order of these ifs is critical, we build up the checks
// so that no basic check gets lost due to more advanced ones
// doing more conplex things. The advanced cases assume that
// doing more complex things. The advanced cases assume that
// the simpler ones have been done already.
if (!($node->parentnode instanceof MP_Group) ||
$node->parentnode->items[0]->toString() !== $namecheck->toString()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment