Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'm22_MDL-34994' of git://github.com/danmarsden/moodle in…

…to MOODLE_22_STABLE
  • Loading branch information...
commit 31970a66a85f44d999beb294a64739879fce22f5 2 parents e5783fd + b33d969
@stronk7 stronk7 authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  mod/choice/backup/moodle2/restore_choice_stepslib.php
View
3  mod/choice/backup/moodle2/restore_choice_stepslib.php
@@ -80,10 +80,9 @@ protected function process_choice_answer($data) {
global $DB;
$data = (object)$data;
- $oldid = $data->id;
$data->choiceid = $this->get_new_parentid('choice');
- $data->optionid = $this->get_mappingid('choice_option', $oldid);
+ $data->optionid = $this->get_mappingid('choice_option', $data->optionid);
$data->userid = $this->get_mappingid('user', $data->userid);
$data->timemodified = $this->apply_date_offset($data->timemodified);
Please sign in to comment.
Something went wrong with that request. Please try again.