Revision: 1736
http://mrbs.svn.sourceforge.net/mrbs/?rev=1736&view=rev
Author: cimorrison
Date: 2011-01-05 17:31:04 +0000 (Wed, 05 Jan 2011)
Log Message:
-----------
Fixed bug in last commit
Modified Paths:
--------------
mrbs/branches/ics_attachments/web/functions_ical.inc
Modified: mrbs/branches/ics_attachments/web/functions_ical.inc
===================================================================
--- mrbs/branches/ics_attachments/web/functions_ical.inc 2011-01-05
17:23:19 UTC (rev 1735)
+++ mrbs/branches/ics_attachments/web/functions_ical.inc 2011-01-05
17:31:04 UTC (rev 1736)
@@ -168,6 +168,8 @@
// Create an RFC 5545 iCalendar Event component
function create_ical_event($method, $data, $text_description,
$html_description, $addresses, $series=FALSE)
{
+ require_once "functions_mail.inc";
+
global $confirmation_enabled, $mail_settings;
$use_html = $mail_settings['html'] && !empty($html_description);
@@ -239,7 +241,7 @@
{
$results[] = "ORGANIZER;CN=\"" .
ical_escape_quoted_string($data['create_by']) . "\":mailto:$organizer_email";
}
- else
+ elseif (!empty($addresses['from']))
{
$results[] = "ORGANIZER:mailto:" . $addresses['from'];
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits