Fixed typo which caused images in questions to fail to display if NOT using slasharguments. Merged from HEAD - original checkin was 1.49 to 1.50 by danstowell.
This commit is contained in:
+1
-1
@@ -1107,7 +1107,7 @@ function get_question_image($question, $courseid) {
|
||||
$img .= "$CFG->wwwroot/file.php/$courseid/$question->image";
|
||||
|
||||
} else {
|
||||
$img .= "$CFG->wwwroot/file.php?file=$courseid/$question->image";
|
||||
$img .= "$CFG->wwwroot/file.php?file=/$courseid/$question->image";
|
||||
}
|
||||
}
|
||||
return $img;
|
||||
|
||||
Reference in New Issue
Block a user