Author: leithoff
New Revision: 55513
URL: http://svn.stylite.de/viewvc/egroupware?rev=55513&view=rev
Log:
partial backport rev55345. fix for sometimes not attached attachment when composing as new, when triggered from message with attachments present
Modified:
branches/14.2/mail/inc/class.mail_compose.inc.php
— branches/14.2/mail/inc/class.mail_compose.inc.php (original)
+++ branches/14.2/mail/inc/class.mail_compose.inc.php Thu Mar 24 15:39:21 2016
@@ -1642,7 +1642,8 @@
if(($attachments = $mail_bo->getMessageAttachments($_uid,$_partID))) {
foreach($attachments as $attachment) {
$cid = $attachment[‘cid’];
-
$match=null;
-
preg_match("/cid:{$cid}/", $bodyParts['0']['body'], $match);
if (!$match || !$attachment['cid'])
{
$this->addMessageAttachment($_uid, $attachment['partID'],
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs