aboutsummaryrefslogtreecommitdiff
path: root/questiontype.php
diff options
context:
space:
mode:
authorJean-Michel Vedrine <vedrine@vedrine.org>2018-01-01 10:19:12 +0100
committerJean-Michel Vedrine <vedrine@vedrine.org>2018-01-01 10:19:12 +0100
commitbd11bbfb8adb703e657fb9ab211ddd01ce6d9012 (patch)
tree4f148776e53596a59c04703645629b9b78ffedb2 /questiontype.php
parent2153f7d2e577fbed3a92dcb02d6d5eec952c8dac (diff)
Change the name of the algebra variable class
Diffstat (limited to 'questiontype.php')
-rw-r--r--questiontype.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/questiontype.php b/questiontype.php
index f49bd55..347b427 100644
--- a/questiontype.php
+++ b/questiontype.php
@@ -501,7 +501,7 @@ class qtype_algebra extends question_type {
$question->variables = array();
if (!empty($questiondata->options->variables)) {
foreach ($questiondata->options->variables as $v) {
- $question->variables[$v->id] = new question_variable($v->id, $v->name, $v->min, $v->max);
+ $question->variables[$v->id] = new qtype_algebra_variable($v->id, $v->name, $v->min, $v->max);
}
}
$question->compareby = $questiondata->options->compareby;