From 6ac3485f22ea35f9160212d50fcf5a60255bae8e Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 3 Jul 2015 11:31:13 -0400 Subject: [PATCH] Whitespace fix --- CRM/Utils/Mail/EmailProcessor.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CRM/Utils/Mail/EmailProcessor.php b/CRM/Utils/Mail/EmailProcessor.php index 663da9f796..88ae522be5 100644 --- a/CRM/Utils/Mail/EmailProcessor.php +++ b/CRM/Utils/Mail/EmailProcessor.php @@ -225,11 +225,11 @@ class CRM_Utils_Mail_EmailProcessor { // is base64 encoded // Check all parts if (!$matches) { - $all_parts=$mail->fetchParts(); + $all_parts = $mail->fetchParts(); foreach ($all_parts as $k_part => $v_part) { if ($v_part instanceof ezcMailFile) { $p_file = $v_part->__get('fileName'); - $c_file=file_get_contents($p_file); + $c_file = file_get_contents($p_file); if (preg_match($rpXheaderRegex, $c_file, $matches)) { self::_log("file match rpXheaderRegex", $matches); list($match, $action, $job, $queue, $hash) = $matches; @@ -238,7 +238,6 @@ class CRM_Utils_Mail_EmailProcessor { } } - // if all else fails, check Delivered-To for possible pattern if (!$matches and preg_match($regex, $mail->getHeader('Delivered-To'), $matches)) { list($match, $action, $job, $queue, $hash) = $matches; -- 2.25.1