Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.1.7, 2.2.4, 2.3.1, 2.4
-
MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
-
MOODLE_22_STABLE, MOODLE_23_STABLE
-
master_
MDL-34994 -
Description
In function process_choice_answer in file restore_choice_stepslib.php, this line:
$data->optionid = $this->get_mappingid('choice_option', $oldid);
Should be changed by:
$data->optionid = $this->get_mappingid('choice_option', $data->optionid);
To correctly assign new optionid.
Attachments
Issue Links
- is duplicated by
-
MDL-36260 Can not restore choice with user data
-
- Closed
-