mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Now glossary concepts are not linked (bug 1366).
Patch submitted by Petr Skoda.
This commit is contained in:
parent
828c4e095a
commit
3483856eb8
1 changed files with 1 additions and 1 deletions
|
@ -459,7 +459,7 @@ function glossary_print_entry($course, $cm, $glossary, $entry, $mode="",$hook=""
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
function glossary_print_entry_concept($entry) {
|
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)) {
|
if (!empty($entry->highlight)) {
|
||||||
$text = highlight($entry->highlight, $text);
|
$text = highlight($entry->highlight, $text);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue