diff --git a/question/type/ordering/question.php b/question/type/ordering/question.php index f8149a281e8..cf46fcac7b7 100644 --- a/question/type/ordering/question.php +++ b/question/type/ordering/question.php @@ -216,7 +216,7 @@ class qtype_ordering_question extends question_graded_automatically { 'partiallycorrectfeedback' => '', 'partiallycorrectfeedbackformat' => FORMAT_MOODLE // =0 ); - $this->options->id = $DB->insert_record('qtype_ordering', $options); + $this->options->id = $DB->insert_record('qtype_ordering_options', $options); } } return $this->options; diff --git a/question/type/ordering/version.php b/question/type/ordering/version.php index 4f5be50db08..3dc2de022d1 100644 --- a/question/type/ordering/version.php +++ b/question/type/ordering/version.php @@ -30,6 +30,6 @@ defined('MOODLE_INTERNAL') || die(); $plugin->cron = 0; $plugin->component = 'qtype_ordering'; $plugin->maturity = MATURITY_STABLE; // ALPHA=50, BETA=100, RC=150, STABLE=200 -$plugin->release = '2015-01-30 (18)'; -$plugin->version = 2015013018; +$plugin->release = '2015-02-05 (19)'; +$plugin->version = 2015020519; $plugin->requires = 2010112400; // Moodle 2.0