aboutsummaryrefslogtreecommitdiff
path: root/backup/moodle2/backup_qtype_algebra_plugin.class.php
diff options
context:
space:
mode:
authorJean-Michel Vedrine <vedrine@vedrine.org>2019-04-27 16:08:43 +0200
committerJean-Michel Vedrine <vedrine@vedrine.org>2019-04-27 16:08:43 +0200
commit6bb88b0306af8691ae7e4f6545b9e9ebd0520acf (patch)
tree674dae06150e515c360d4e5e14d2f0a5f1ed1021 /backup/moodle2/backup_qtype_algebra_plugin.class.php
parent7f141a597f4367c03edc141578a67f3706cb0f9b (diff)
change ref field name in variable table
Diffstat (limited to 'backup/moodle2/backup_qtype_algebra_plugin.class.php')
-rw-r--r--backup/moodle2/backup_qtype_algebra_plugin.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/backup/moodle2/backup_qtype_algebra_plugin.class.php b/backup/moodle2/backup_qtype_algebra_plugin.class.php
index 4f7708f..099a41c 100644
--- a/backup/moodle2/backup_qtype_algebra_plugin.class.php
+++ b/backup/moodle2/backup_qtype_algebra_plugin.class.php
@@ -63,7 +63,7 @@ class backup_qtype_algebra_plugin extends backup_qtype_plugin {
// Set source to populate the data.
$algebra->set_source_table('qtype_algebra_options', array('questionid' => backup::VAR_PARENTID));
- $algebravariable->set_source_table('qtype_algebra_variables', array('question' => backup::VAR_PARENTID));
+ $algebravariable->set_source_table('qtype_algebra_variables', array('questionid' => backup::VAR_PARENTID));
// Don't need to annotate ids nor files.