Merge branch 'MDL-71397-master' of git://github.com/marinaglancy/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2021-05-04 23:37:33 +02:00
commit 21e3cf71bc

View File

@ -1951,7 +1951,7 @@ function glossary_print_categories_menu($cm, $glossary, $hook, $category) {
echo get_string("entrieswithoutcategory","glossary");
$selected = GLOSSARY_SHOW_NOT_CATEGORISED;
} elseif ( $hook == GLOSSARY_SHOW_ALL_CATEGORIES ) {
} else if ( empty($hook) ) {
echo get_string("allcategories","glossary");
$selected = GLOSSARY_SHOW_ALL_CATEGORIES;