From a536138d02617c515fa8c012c002178ff8910717 Mon Sep 17 00:00:00 2001 From: skodak Date: Mon, 15 May 2006 15:05:28 +0000 Subject: [PATCH] changed cleaning of entry title, now matches handling of forum post titles; merged from MOODLE_16_STABLE --- calendar/event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/event.php b/calendar/event.php index 257c11e0185..540fdae92e3 100644 --- a/calendar/event.php +++ b/calendar/event.php @@ -116,7 +116,7 @@ if($form = data_submitted()) { - $form->name = clean_text(strip_tags($form->name,'')); + $form->name = clean_param(strip_tags($form->name,''), PARAM_CLEAN); $form->timestart = make_timestamp($form->startyr, $form->startmon, $form->startday, $form->starthr, $form->startmin); if($form->duration == 1) {