Revision: 2147
http://mrbs.svn.sourceforge.net/mrbs/?rev=2147&view=rev
Author: tbleher
Date: 2011-10-24 21:17:02 +0000 (Mon, 24 Oct 2011)
Log Message:
-----------
Set PARTSTAT=NEEDS-ACTION in ical output
I got some bug reports from Outlook 2010 users that bookings that they
received via mrbs mails were automatically imported into their calender,
without any user action. Apparently this change fixes it.
Google Calender and Outlook 2003 also set this field, even though the
relevant RFC says that NEEDS-ACTION is the default value and can be
omitted.
Modified Paths:
--------------
mrbs/trunk/web/functions_ical.inc
Modified: mrbs/trunk/web/functions_ical.inc
===================================================================
--- mrbs/trunk/web/functions_ical.inc 2011-10-24 21:14:44 UTC (rev 2146)
+++ mrbs/trunk/web/functions_ical.inc 2011-10-24 21:17:02 UTC (rev 2147)
@@ -604,7 +604,7 @@
$attendee = parse_address($attendee);
$results[] = "ATTENDEE;" .
((!empty($attendee['common_name'])) ? "CN=\"" .
ical_escape_quoted_string($attendee['common_name']) . "\";" : "") .
- "ROLE=$role:mailto:" . $attendee['address'];
+ "PARTSTAT=NEEDS-ACTION;ROLE=$role:mailto:" .
$attendee['address'];
}
}
}
@@ -837,4 +837,4 @@
}
-?>
\ No newline at end of file
+?>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits