From b2ece40a6b4a20bb2fad8b5ca027bd717f1652e1 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Wed, 23 Jul 2008 10:32:33 +0000 Subject: [PATCH] =?utf8?q?MDL-15792=20-=20Images=20in=20question=20don't?= =?utf8?q?=20display.=20This=20is=20a=20regression=20from=20MDL-14279.=20F?= =?utf8?q?ix=20thanks=20to=20Yolanda=20Ord=F3=F1ez=20Rufat.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- lib/questionlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/questionlib.php b/lib/questionlib.php index fd697bdf7..30704fecb 100644 --- a/lib/questionlib.php +++ b/lib/questionlib.php @@ -1509,7 +1509,7 @@ function get_question_image($question) { } else { require_once($CFG->libdir .'/filelib.php'); - $img = get_file_url("$courseid/{$question->image}"); + $img = get_file_url("$coursefilesdir/{$question->image}"); } } return $img; -- 2.11.4.GIT