Permalink
Browse files

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.
  • Loading branch information...
1 parent e10e4fd commit 96ef5c792add55618252c2be87c3a088d60b1be5 tjhunt committed Jul 18, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/questionlib.php
View
@@ -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;

0 comments on commit 96ef5c7

Please sign in to comment.