From 772685e9830abfeb8dc6c0a9fb4ee104804eb45d Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Wed, 14 Mar 2012 13:52:18 +1300 Subject: [PATCH] MDl-30616 course: Fixed bug with module subtype links --- course/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.17.1