mirror of
https://github.com/moodle/moodle.git
synced 2025-04-17 06:25:33 +02:00
MDL-54941 glossary: Correct variable naming for entry files
This commit is contained in:
parent
079e06adcd
commit
1a354b81b6
@ -142,7 +142,7 @@ class mod_glossary_external extends external_api {
|
||||
$entry->attachment = !empty($entry->attachment) ? 1 : 0;
|
||||
$entry->attachments = array();
|
||||
if ($entry->attachment) {
|
||||
$files = external_util::get_area_files($context->id, 'mod_glossary', 'attachment', $entry->id);
|
||||
$entry->attachments = external_util::get_area_files($context->id, 'mod_glossary', 'attachment', $entry->id);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user