MDL-47494 ddimageortext: NOBUG removed exception as it messes up unit tests where files do not exist and

are not needed.
This commit is contained in:
Jamie Pratt
2011-08-24 19:48:46 +07:00
parent c1844f5be8
commit dfd89ae5a2
+1 -1
View File
@@ -144,7 +144,7 @@ class qtype_ddimagetoimage_renderer extends qtype_with_combined_feedback_rendere
return $url->out();
}
}
throw new coding_exception('File not found in filearea '.$filearea);
return null;
}
protected function hidden_field_for_qt_var(question_attempt $qa, $varname, $value = null) {