Fixed link to picture file in print_picture_file

This commit is contained in:
moodler
2003-02-11 01:53:10 +00:00
parent 434f33c00a
commit 3f3960656d
+1 -1
View File
@@ -777,7 +777,7 @@ function print_file_picture($path, $courseid=0, $height="", $width="", $link="")
if ($CFG->slasharguments) { // Use this method if possible for better caching
echo "$CFG->wwwroot/file.php/$courseid/$path";
} else {
echo "$CFG->wwwroot/file.php?file=$courseid/$path";
echo "$CFG->wwwroot/file.php?file=/$courseid/$path";
}
echo "\">";
} else {