Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
652d49a
)
MDl-30616 course: Fixed bug with module subtype links
author
Sam Hemelryk
<sam@moodle.com>
Wed, 14 Mar 2012 00:52:18 +0000
(13:52 +1300)
committer
Sam Hemelryk
<sam@moodle.com>
Wed, 14 Mar 2012 00:56:22 +0000
(13:56 +1300)
course/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/course/lib.php
b/course/lib.php
index
4a31b80
..
6282112
100644
(file)
--- 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 . $
sub
type->type;
$group->types[] = $subtype;
}
$modlist[$course->id][$modname] = $group;