Skip to content

Commit

Permalink
changed cleaning of entry title, now matches handling of forum post t…
Browse files Browse the repository at this point in the history
…itles; merged from MOODLE_16_STABLE
  • Loading branch information
skodak committed May 15, 2006
1 parent 3b25960 commit a536138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion calendar/event.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a536138

Please sign in to comment.