mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
I broke this with my last commit, fixing.
This commit is contained in:
parent
bb9a34a347
commit
cb88fbddec
@ -75,6 +75,8 @@ class block_glossary_random extends block_base {
|
||||
' AND approved = 1 '.
|
||||
'ORDER BY timemodified '.$SORT.' '.$LIMIT)) {
|
||||
|
||||
$entry = reset($entry);
|
||||
|
||||
if (empty($this->config->showconcept)) {
|
||||
$text = '';
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user