From 08999c816fcf80f58e2f502c5ae681c8057d9269 Mon Sep 17 00:00:00 2001 From: Jon goldberg Date: Wed, 20 Jul 2016 14:03:52 -0400 Subject: [PATCH] CRM-19111 - Incoming Email-to-Activity - don't fail on blank email body --- CRM/Utils/Mail/Incoming.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/Mail/Incoming.php b/CRM/Utils/Mail/Incoming.php index 24084e32a0..f2aaec5d3e 100644 --- a/CRM/Utils/Mail/Incoming.php +++ b/CRM/Utils/Mail/Incoming.php @@ -67,7 +67,7 @@ class CRM_Utils_Mail_Incoming { return self::formatMail($part, $attachments); } - if ($part instanceof ezcMailText) { + if ($part instanceof ezcMailText || !$part) { return self::formatMailText($part, $attachments); } -- 2.25.1