MDL-35208 mod_choice: respect order of options when running backup

This commit is contained in:
Dan Marsden
2012-09-04 11:02:15 +12:00
parent 98157832bf
commit 70c2ec0ba2
@@ -65,8 +65,9 @@ class backup_choice_activity_structure_step extends backup_activity_structure_st
$option->set_source_sql('
SELECT *
FROM {choice_options}
WHERE choiceid = ?',
FROM {choice_options}
WHERE choiceid = ?
ORDER BY id',
array(backup::VAR_PARENTID));
// All the rest of elements only happen if we are including user info