diff options
author | Jean-Michel Vedrine <vedrine@vedrine.org> | 2018-01-01 10:19:12 +0100 |
---|---|---|
committer | Jean-Michel Vedrine <vedrine@vedrine.org> | 2018-01-01 10:19:12 +0100 |
commit | bd11bbfb8adb703e657fb9ab211ddd01ce6d9012 (patch) | |
tree | 4f148776e53596a59c04703645629b9b78ffedb2 /questiontype.php | |
parent | 2153f7d2e577fbed3a92dcb02d6d5eec952c8dac (diff) |
Change the name of the algebra variable class
Diffstat (limited to 'questiontype.php')
-rw-r--r-- | questiontype.php | 2 |
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; |