Changeset:
7f9da2c50e55
https://sourceforge.net/p/mrbs/hg-code/ci/7f9da2c50e5535c4e192081793e72a255b7c0ebf
Author:
Campbell Morrison <[email protected]>
Date:
Mon Jan 30 17:04:40 2017 +0000
Log message:
Added the booking type when exporting as a .ics file
diffstat:
web/functions_ical.inc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r ce7ea3de1514 -r 7f9da2c50e55 web/functions_ical.inc
--- a/web/functions_ical.inc Mon Jan 30 15:59:22 2017 +0000
+++ b/web/functions_ical.inc Mon Jan 30 17:04:40 2017 +0000
@@ -868,6 +868,7 @@
$results[] = "SUMMARY:" . ical_escape_text($data['name']);
$results[] = "DESCRIPTION:" . ical_escape_text($data['description']);
$results[] = "LOCATION:" . ical_escape_text($data['area_name'] .
$default_area_room_delimiter . $data['room_name']);
+ $results[] = "X-MRBS-TYPE:" .
ical_escape_text(get_type_vocab($data['type']));
$results[] = "SEQUENCE:" . $data['ical_sequence'];
// If this is an individual member of a series then set the recurrence id
if (!$series && ($data['entry_type'] != ENTRY_SINGLE))
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits