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

This commit is contained in:
Sam Hemelryk
2012-03-14 11:30:21 +13:00
+1 -1
View File
@@ -152,7 +152,7 @@ foreach($events as $event) {
$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