Permalink
Browse files

MDL-31828 attachements to essay questions do not work on Oracle.

  • Loading branch information...
1 parent f24a1a7 commit fb313979df856c8457573604f361621d3df0d4cc @timhunt timhunt committed Mar 1, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 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 fb31397

Please sign in to comment.