mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
- Fixed bug the dealing with concepts that contains slashes
This commit is contained in:
parent
4d4c38f3fe
commit
20853eabc7
2 changed files with 2 additions and 1 deletions
|
@ -33,6 +33,6 @@
|
|||
} else {
|
||||
add_to_log($course->id, "glossary", "approve entry", "showentry.php?id=$cm->id&eid=$eid", "$eid");
|
||||
}
|
||||
redirect("view.php?id=$cm->id&tab=$tab&l=ALL");
|
||||
redirect("view.php?id=$cm->id&tab=$tab");
|
||||
die;
|
||||
?>
|
|
@ -62,6 +62,7 @@
|
|||
}
|
||||
|
||||
function glossary_link_concepts($text,$concept,$href_tag_begin,$href_tag_end = "</a>",$casesensitive,$fullmatch) {
|
||||
$concept = str_replace("/", "\/", $concept);
|
||||
$list_of_words_cp = $concept;
|
||||
|
||||
if ($list_of_words_cp{0}=="|") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue