mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
fix not working mail-integration because of "extra logging" tried to convert imap object to a string
This commit is contained in:
parent
86ec8ee17d
commit
26313db8f7
@ -4675,7 +4675,7 @@ class Mail
|
|||||||
switch($part->getPrimaryType())
|
switch($part->getPrimaryType())
|
||||||
{
|
{
|
||||||
case 'multipart':
|
case 'multipart':
|
||||||
if ($part->getDisposition() == 'attachment') continue;
|
if ($part->getDisposition() == 'attachment') continue 2; // +1 for switch
|
||||||
switch($part->getSubType())
|
switch($part->getSubType())
|
||||||
{
|
{
|
||||||
case 'alternative':
|
case 'alternative':
|
||||||
@ -5609,7 +5609,7 @@ class Mail
|
|||||||
}
|
}
|
||||||
if (!$_stream)
|
if (!$_stream)
|
||||||
{
|
{
|
||||||
error_log(__METHOD__.' ('.__LINE__.') '."[$this->icServer->ImapServerId][$_folder][$_uid][".(empty($_partID)?'NIL':$_partID)."]");
|
//error_log(__METHOD__.' ('.__LINE__.') '."[{$this->icServer->ImapServerId}][$_folder][$_uid][".(empty($_partID)?'NIL':$_partID)."]");
|
||||||
$rawBody[$this->icServer->ImapServerId][$_folder][$_uid][(empty($_partID)?'NIL':$_partID)] = $body;
|
$rawBody[$this->icServer->ImapServerId][$_folder][$_uid][(empty($_partID)?'NIL':$_partID)] = $body;
|
||||||
}
|
}
|
||||||
return $body;
|
return $body;
|
||||||
|
Loading…
Reference in New Issue
Block a user