diff --git a/course/user.php b/course/user.php index b159137aee482..e7290212c7b41 100644 --- a/course/user.php +++ b/course/user.php @@ -231,7 +231,9 @@ function print_outline_row($mod, $instance, $result) { - $image = "modname/icon.gif\" height=\"16\" width=\"16\" alt=\"$mod->modfullname\" />"; + global $CFG; + + $image = "pixpathmod/$mod->modname/icon.gif\" height=\"16\" width=\"16\" alt=\"$mod->modfullname\" />"; echo ""; echo "$image";