mirror of
https://github.com/moodle/moodle.git
synced 2025-03-18 14:40:06 +01:00
changed cleaning of entry title, now matches handling of forum post titles; merged from MOODLE_16_STABLE
This commit is contained in:
parent
3b25960385
commit
a536138d02
@ -116,7 +116,7 @@
|
||||
|
||||
if($form = data_submitted()) {
|
||||
|
||||
$form->name = clean_text(strip_tags($form->name,'<lang><span>'));
|
||||
$form->name = clean_param(strip_tags($form->name,'<lang><span>'), PARAM_CLEAN);
|
||||
|
||||
$form->timestart = make_timestamp($form->startyr, $form->startmon, $form->startday, $form->starthr, $form->startmin);
|
||||
if($form->duration == 1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user