From 87075ec1cd722ae7fc0da58732e681ad49dace1a Mon Sep 17 00:00:00 2001 From: danstowell Date: Fri, 23 Jun 2006 15:06:23 +0000 Subject: [PATCH] Fixed typo which caused images in questions to fail to display if NOT using slasharguments --- lib/questionlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/questionlib.php b/lib/questionlib.php index 86a16de4fe..f51e3f084b 100644 --- a/lib/questionlib.php +++ b/lib/questionlib.php @@ -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; -- 2.39.5