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:
tjhunt
2006-07-18 15:37:17 +00:00
parent e10e4fdd55
commit 96ef5c792a
+1 -1
View File
@@ -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;