]> git.mjollnir.org Git - moodle.git/commitdiff
Quick fix for not working glossary index. Related to MDL-12949 that needs more improv...
authorstronk7 <stronk7>
Thu, 31 Jan 2008 00:20:19 +0000 (00:20 +0000)
committerstronk7 <stronk7>
Thu, 31 Jan 2008 00:20:19 +0000 (00:20 +0000)
mod/glossary/index.php

index f09c45ed008ed6a9ae06730b8dcc3dced38b5026..47da6082f9e6ffdd691457bd786c611f087c3d16 100644 (file)
@@ -35,7 +35,7 @@
 
 /// Get all the appropriate data
 
-    if (!$cms = get_coursemodules_in_course('data', $course->id, 'm.rsstype, m.rssarticles')) {
+    if (!$cms = get_coursemodules_in_course('glossary', $course->id, 'm.rsstype, m.rssarticles')) {
         notice(get_string('thereareno', 'moodle', $strglossarys), "../../course/view.php?id=$course->id");
         die;
     }