Merge branch 'MDL-77552-401' of https://github.com/ferranrecio/moodle into MOODLE_401_STABLE

This commit is contained in:
Sara Arjona 2023-04-11 11:13:41 +02:00
commit 8bc1c231d6

View File

@ -90,6 +90,8 @@ class cm implements renderable {
'sectionnumber' => $section->section,
'uservisible' => $cm->uservisible,
'hascmrestrictions' => $this->get_has_restrictions(),
'module' => $cm->modname,
'plugin' => 'mod_' . $cm->modname,
];
// Check the user access type to this cm.