Browse files

Merge branch 'MDL-29440' of git://github.com/danpoltawski/moodle into…

… MOODLE_22_STABLE
  • Loading branch information...
2 parents b2ace00 + eb1f147 commit 999e6901c86899d8535b14b733204e1591aca335 Sam Hemelryk committed Mar 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 calendar/export_execute.php
View
2 calendar/export_execute.php
@@ -152,7 +152,7 @@
$ev = new iCalendar_event;
$ev->add_property('uid', $event->id.'@'.$hostaddress);
$ev->add_property('summary', $event->name);
- $ev->add_property('description', $event->description);
+ $ev->add_property('description', clean_param($event->description, PARAM_NOTAGS));
$ev->add_property('class', 'PUBLIC'); // PUBLIC / PRIVATE / CONFIDENTIAL
$ev->add_property('last-modified', Bennu::timestamp_to_datetime($event->timemodified));
$ev->add_property('dtstamp', Bennu::timestamp_to_datetime()); // now

0 comments on commit 999e690

Please sign in to comment.