diff --git a/mod/glossary/filter.php b/mod/glossary/filter.php index ed93194eeec..3602498a985 100644 --- a/mod/glossary/filter.php +++ b/mod/glossary/filter.php @@ -114,7 +114,7 @@ function glossary_filter($courseid, $text) { $glossaryname = $glossaries[$concept->glossaryid]; if ($concept->category) { // Link to a category - $title = strip_tags($glossaryname.': '.$strcategory.' '.$category->name); + $title = strip_tags($glossaryname.': '.$strcategory.' '.$concept->name); $href_tag_begin = '';