steffen: server/kolab-resource-handlers/kolab-resource-handlers/resmgr olhacks.php, 1.7, 1.8
cvs at intevation.de
cvs at intevation.de
Thu Sep 29 10:50:09 CEST 2005
Author: steffen
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/resmgr
In directory doto:/tmp/cvs-serv509/kolab-resource-handlers/resmgr
Modified Files:
olhacks.php
Log Message:
Fix for issue952 (mailto: missing)
Index: olhacks.php
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/resmgr/olhacks.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- olhacks.php 4 May 2005 14:32:44 -0000 1.7
+++ olhacks.php 29 Sep 2005 08:50:07 -0000 1.8
@@ -85,7 +85,7 @@
#myLog("event has no organizer, adding $from", RM_LOG_DEBUG);
$adrs = imap_rfc822_parse_adrlist($from, $params['email_domain']);
if( count($adrs) > 0 ) {
- $org_email = $adrs[0]->mailbox.'@'.$adrs[0]->host;
+ $org_email = 'mailto:'.$adrs[0]->mailbox.'@'.$adrs[0]->host;
$org_name = $adrs[0]->personal;
if( $org_name ) $vevent->setAttribute( 'ORGANIZER', $org_email,
array( 'CN' => $org_name), false );
More information about the commits
mailing list