From 1fc639b80fe9222815e5468b7dcfa8368610148f Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Tue, 2 Dec 2014 14:48:25 +0000 Subject: [PATCH] fix broken body-display on activesync after r49578 --- mail/inc/class.mail_activesync.inc.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mail/inc/class.mail_activesync.inc.php b/mail/inc/class.mail_activesync.inc.php index f9632ec774..e2bd83fee7 100644 --- a/mail/inc/class.mail_activesync.inc.php +++ b/mail/inc/class.mail_activesync.inc.php @@ -1202,7 +1202,7 @@ class mail_activesync implements activesync_plugin_write, activesync_plugin_send } } } - + $mailObject->SetMessageType(); $Header = $mailObject->CreateHeader(); //debugLog(__METHOD__.__LINE__.' MailObject-Header:'.array2string($Header)); $Body = trim($mailObject->CreateBody()); // philip thinks this is needed, so lets try if it does any good/harm @@ -1445,11 +1445,12 @@ class mail_activesync implements activesync_plugin_write, activesync_plugin_send * @return SyncAirSyncBaseFileAttachment-object */ function ItemOperationsGetAttachmentData($fid,$attname) { - debugLog("ItemOperationsGetAttachmentData: (attname: '$attname')"); + debugLog(__METHOD__.'(fid='.array2string($fid).', attname='.array2string($attname).')'); list($folderid, $id, $part) = explode(":", $attname); $this->splitID($folderid, $account, $folder); + debugLog(__METHOD__.'(fid='.array2string($fid).', attname='.array2string($attname).") folderid='$folderid', id=$id, part=$part, account=$account, folder='$folder', profileId=".self::$profileID); if (!isset($this->mail)) $this->mail = mail_bo::getInstance(false, self::$profileID,true,false,true);