MDL-21769 fixed input validation
This commit is contained in:
+2
-2
@@ -334,9 +334,9 @@
|
||||
|
||||
case 'edit':
|
||||
if(empty($form)) {
|
||||
$form->name = $event->name;
|
||||
$form->name = clean_text($event->name);
|
||||
$form->courseid = $event->courseid; // Not to update, but for date validation
|
||||
$form->description = $event->description;
|
||||
$form->description = clean_text($event->description);
|
||||
$form->timestart = $event->timestart;
|
||||
$form->timeduration = $event->timeduration;
|
||||
$form->id = $event->id;
|
||||
|
||||
Reference in New Issue
Block a user