Skip to content
Browse files

Merge branch 'MDL-31828_22' of git://github.com/timhunt/moodle into M…

…OODLE_22_STABLE
  • Loading branch information...
2 parents 7d6c1a1 + 21356da commit 575a5530944f28dd67350265995470146503557e Sam Hemelryk committed Mar 5, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 question/engine/datalib.php
View
1 question/engine/datalib.php
@@ -151,6 +151,7 @@ protected function insert_step_data(question_attempt_step $step, $stepid, $conte
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();

0 comments on commit 575a553

Please sign in to comment.
Something went wrong with that request. Please try again.