Merge branch 'm23_MDL-35208' of git://github.com/danmarsden/moodle into MOODLE_23_STABLE

This commit is contained in:
Eloy Lafuente (stronk7) 2012-09-11 01:57:21 +02:00
commit 3a3120e206

View file

@ -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