Merge branch 'MDL-85616-500_glossary_undefined_variable' of https://github.com/davidherney/moodle into MOODLE_500_STABLE

This commit is contained in:
Paul Holden
2025-09-18 19:23:22 +01:00
+1 -1
View File
@@ -85,7 +85,7 @@ if (!empty($courseid)) {
echo $OUTPUT->header(); // Needs to be something here to allow linking back to the whole glossary
}
if ($glossary) {
if (isset($glossary)) {
$url = new moodle_url('view.php', ['id' => $cm->id]);
$backlink = html_writer::link($url, get_string('back'), ['class' => 'btn btn-secondary']);
echo html_writer::tag('div', $backlink, ['class' => 'tertiary-navigation']);