MDL-15792 - Images in question don't display. This is a regression from MDL-14279. Fix thanks to Yolanda Ordóñez Rufat.

This commit is contained in:
tjhunt
2008-07-23 10:32:33 +00:00
parent d0c5b9f724
commit b2ece40a6b
+1 -1
View File
@@ -1509,7 +1509,7 @@ function get_question_image($question) {
} else {
require_once($CFG->libdir .'/filelib.php');
$img = get_file_url("$courseid/{$question->image}");
$img = get_file_url("$coursefilesdir/{$question->image}");
}
}
return $img;