MDL-83541 qtype_calculated: Add missing field to backups

This commit is contained in:
Mark Johnson
2025-03-14 10:10:13 +07:00
committed by Huong Nguyen
parent 67f32d48e4
commit df381865b4
@@ -72,7 +72,7 @@ class backup_qtype_calculated_plugin extends backup_qtype_plugin {
$calculatedoption = new backup_nested_element('calculated_option', array('id'), array(
'synchronize', 'single', 'shuffleanswers', 'correctfeedback',
'correctfeedbackformat', 'partiallycorrectfeedback', 'partiallycorrectfeedbackformat',
'incorrectfeedback', 'incorrectfeedbackformat', 'answernumbering'));
'incorrectfeedback', 'incorrectfeedbackformat', 'answernumbering', 'shownumcorrect'));
// Now the own qtype tree.
$pluginwrapper->add_child($calculatedrecords);