MDL-75844 moodle_page: add a modname to body tag.

This commit is contained in:
hieuvu 2022-09-29 14:16:06 +07:00
parent 8f492a836a
commit 94c2a52528
2 changed files with 2 additions and 0 deletions

View file

@ -1937,6 +1937,7 @@ class moodle_page {
if (!empty($this->_cm)) {
$this->add_body_class('cmid-' . $this->_cm->id);
$this->add_body_class('cm-type-' . $this->_cm->modname);
}
if (!empty($CFG->allowcategorythemes)) {