diff --git a/application/Espo/Modules/Crm/Services/InboundEmail.php b/application/Espo/Modules/Crm/Services/InboundEmail.php index ee6c58ec34..de6e9aa695 100644 --- a/application/Espo/Modules/Crm/Services/InboundEmail.php +++ b/application/Espo/Modules/Crm/Services/InboundEmail.php @@ -203,7 +203,7 @@ class InboundEmail extends \Espo\Services\Record $body = $email->get('body'); if (!empty($body)) { foreach ($inlineIds as $cid => $attachmentId) { - $body = str_replace('cid:' . $cid, '?entryPoint=attachment&id=' . $attachmentId, $body); + $body = str_replace('cid:' . $cid, '?entryPoint=attachment&id=' . $attachmentId, $body); } $email->set('body', $body); }