From: skodak Date: Mon, 15 May 2006 15:05:28 +0000 (+0000) Subject: changed cleaning of entry title, now matches handling of forum post titles; merged... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a536138d02617c515fa8c012c002178ff8910717;p=moodle.git changed cleaning of entry title, now matches handling of forum post titles; merged from MOODLE_16_STABLE --- diff --git a/calendar/event.php b/calendar/event.php index 257c11e018..540fdae92e 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) {