mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +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
|
@ -21,7 +21,7 @@ class mod_survey_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');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue