]> git.mjollnir.org Git - moodle.git/commitdiff
Now glossary concepts are not linked (bug 1366).
authorstronk7 <stronk7>
Tue, 11 May 2004 17:31:43 +0000 (17:31 +0000)
committerstronk7 <stronk7>
Tue, 11 May 2004 17:31:43 +0000 (17:31 +0000)
Patch submitted by Petr Skoda.

mod/glossary/lib.php

index 0aaf6631aeb2ff4aeb46777558b05accff00e17a..eac977b16d5a69132a667c6eb955ef20bcb1a8b2 100644 (file)
@@ -459,7 +459,7 @@ function glossary_print_entry($course, $cm, $glossary, $entry, $mode="",$hook=""
         return $return;
 }
 function  glossary_print_entry_concept($entry) {
-    $text = format_text($entry->concept, $entry->format);
+    $text = format_text('<nolink>' . $entry->concept . '</nolink>', $entry->format);
     if (!empty($entry->highlight)) {
         $text = highlight($entry->highlight, $text);
     }