mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-67671 backup: Fix modname display on backup form
This commit is contained in:
parent
49a9e8b07d
commit
e37cdf881e
@ -402,7 +402,8 @@ abstract class base_moodleform extends moodleform {
|
||||
|
||||
// Get list of module types on course.
|
||||
$modinfo = get_fast_modinfo($COURSE);
|
||||
$modnames = $modinfo->get_used_module_names(true);
|
||||
$modnames = array_map('strval', $modinfo->get_used_module_names(true));
|
||||
core_collator::asort($modnames);
|
||||
$PAGE->requires->yui_module('moodle-backup-backupselectall', 'M.core_backup.backupselectall',
|
||||
array($modnames));
|
||||
$PAGE->requires->strings_for_js(array('select', 'all', 'none'), 'moodle');
|
||||
|
Loading…
x
Reference in New Issue
Block a user