]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed typo which caused images in questions to fail to display if NOT using slashargu...
authordanstowell <danstowell>
Fri, 23 Jun 2006 15:06:23 +0000 (15:06 +0000)
committerdanstowell <danstowell>
Fri, 23 Jun 2006 15:06:23 +0000 (15:06 +0000)
lib/questionlib.php

index 86a16de4fe7237769e86ade4a7a0c59c25b872fe..f51e3f084b52dffc3b94c2f8d64ca13966e5dfbd 100644 (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;