thomas: server/kolab-resource-handlers/kolab-resource-handlers/resmgr olhacks.php, 1.7.2.1, 1.7.2.2
cvs at kolab.org
cvs at kolab.org
Mon May 7 13:19:38 CEST 2007
Author: thomas
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/resmgr
In directory doto:/tmp/cvs-serv30769/kolab-resource-handlers/kolab-resource-handlers/resmgr
Modified Files:
Tag: kolab_2_0_branch
olhacks.php
Log Message:
Generate a single To: header listing all recipients when forwarding encapsulated iCal messages.
Index: olhacks.php
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/resmgr/Attic/olhacks.php,v
retrieving revision 1.7.2.1
retrieving revision 1.7.2.2
diff -u -d -r1.7.2.1 -r1.7.2.2
--- olhacks.php 29 Sep 2005 08:50:45 -0000 1.7.2.1
+++ olhacks.php 7 May 2007 11:19:36 -0000 1.7.2.2
@@ -173,9 +173,7 @@
copy_header( 'Resent-Date', $msg_headers, $headers );
copy_header( 'Subject', $msg_headers, $headers );
$msg_headers->addHeader('From', $sender);
- foreach( $recipients as $recip ) {
- $msg_headers->addHeader('To', $recip);
- }
+ $msg_headers->addHeader('To', join(', ', $recipients));
$msg_headers->addHeader('X-Kolab-Forwarded', 'TRUE');
$msg_headers->addMIMEHeaders($toppart);
copy_header( 'Content-Transfer-Encoding', $msg_headers, $headers );
More information about the commits
mailing list