Commit 5a0a0a4d authored by Martin Mastny's avatar Martin Mastny Committed by Mark Nelson
Browse files

MDL-33765 mod_glossary: Concept in ajax request not linking to itself

parent 47cbd1b4
......@@ -61,6 +61,9 @@ if ($entries) {
// Make sure entry is not autolinking itself.
$context = context_module::instance($entry->cmid);
$definition = file_rewrite_pluginfile_urls($entry->definition, 'pluginfile.php', $context->id, 'mod_glossary', 'entry', $entry->id);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment