Merge branch 'MDL-31828' of git://github.com/timhunt/moodle

This commit is contained in:
Sam Hemelryk 2012-03-05 17:03:34 +13:00
commit 1392fd114a

View File

@ -151,6 +151,7 @@ class question_engine_data_mapper {
foreach ($step->get_all_data() as $name => $value) {
if ($value instanceof question_file_saver) {
$value->save_files($stepid, $context);
$value = (string) $value;
}
$data = new stdClass();