Fixed typo which caused images in questions to fail to display if NOT using slasharguments
This commit is contained in:
+1
-1
@@ -1104,7 +1104,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