mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-23184 activity names are now either PARAM_TEXT or PARAM_CLEANHTML, this should be more accurate
This commit is contained in:
parent
93de0ac293
commit
b8ea3041eb
16 changed files with 17 additions and 17 deletions
|
@ -19,7 +19,7 @@ class mod_glossary_mod_form extends moodleform_mod {
|
|||
if (!empty($CFG->formatstringstriptags)) {
|
||||
$mform->setType('name', PARAM_TEXT);
|
||||
} else {
|
||||
$mform->setType('name', PARAM_CLEAN);
|
||||
$mform->setType('name', PARAM_CLEANHTML);
|
||||
}
|
||||
$mform->addRule('name', null, 'required', null, 'client');
|
||||
|
||||
|
@ -127,7 +127,7 @@ class mod_glossary_mod_form extends moodleform_mod {
|
|||
//-------------------------------------------------------------------------------
|
||||
|
||||
$this->standard_grading_coursemodule_elements();
|
||||
|
||||
|
||||
$this->standard_coursemodule_elements();
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue