Fixed typo which caused images in questions to fail to display if NOT using slasharguments

This commit is contained in:
danstowell
2006-06-23 15:06:23 +00:00
parent 83c020ba20
commit 87075ec1cd
+1 -1
View File
@@ -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;