From: Sam Hemelryk Date: Wed, 14 Mar 2012 00:52:18 +0000 (+1300) Subject: MDl-30616 course: Fixed bug with module subtype links X-Git-Tag: v2.3.0-beta~968 X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=commitdiff_plain;h=772685e9830abfeb8dc6c0a9fb4ee104804eb45d MDl-30616 course: Fixed bug with module subtype links --- diff --git a/course/lib.php b/course/lib.php index 4a31b80444b..6282112f86a 100644 --- a/course/lib.php +++ b/course/lib.php @@ -1964,7 +1964,7 @@ function get_module_metadata($course, $modnames) { if (get_string_manager()->string_exists('help' . $subtype->name, $modname)) { $subtype->help = get_string('help' . $subtype->name, $modname); } - $subtype->link = $urlbase . $type->type; + $subtype->link = $urlbase . $subtype->type; $group->types[] = $subtype; } $modlist[$course->id][$modname] = $group;