]> git.mjollnir.org Git - moodle.git/commitdiff
Now entry->concept is always printed in FORMAT_MOODLE format, instead
authorstronk7 <stronk7>
Sat, 15 May 2004 17:34:43 +0000 (17:34 +0000)
committerstronk7 <stronk7>
Sat, 15 May 2004 17:34:43 +0000 (17:34 +0000)
of using the entry->format field. This should close Bug 1298.
(http://moodle.org/bugs/bug.php?op=show&bugid=1298)

mod/glossary/lib.php

index 8293337daef2bf617e3451472bc3c12377d912bd..6ba303bb7ba92f09fb2acb1bf34d4d9a825fbf1f 100644 (file)
@@ -460,7 +460,7 @@ function glossary_print_entry($course, $cm, $glossary, $entry, $mode="",$hook=""
 }
 function  glossary_print_entry_concept($entry) {
     $options->para = false;
-    $text = format_text('<nolink>' . $entry->concept . '</nolink>', $entry->format, $options);
+    $text = format_text('<nolink>' . $entry->concept . '</nolink>', FORMAT_MOODLE, $options);
     if (!empty($entry->highlight)) {
         $text = highlight($entry->highlight, $text);
     }