[freeside-commits] branch FREESIDE_2_3_BRANCH updated. cc010a07023a2e278a5eac2835a971b2ae83b55f
Ivan
ivan at 420.am
Mon Jul 9 22:28:46 PDT 2012
The branch, FREESIDE_2_3_BRANCH has been updated
via cc010a07023a2e278a5eac2835a971b2ae83b55f (commit)
from dbeb313147d5bbe625d060183a49d24c9f4a4787 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit cc010a07023a2e278a5eac2835a971b2ae83b55f
Author: Ivan Kohler <ivan at freeside.biz>
Date: Mon Jul 9 22:28:43 2012 -0700
prevent RT::EmailParser::RescueOutlook from throwing a fatal error.. still better to accept the message anyway, even if it can't be rescued from Outlook
diff --git a/rt/lib/RT/EmailParser.pm b/rt/lib/RT/EmailParser.pm
index ef9f4bf..865c4a4 100644
--- a/rt/lib/RT/EmailParser.pm
+++ b/rt/lib/RT/EmailParser.pm
@@ -587,7 +587,7 @@ sub RescueOutlook {
if ( $first && $first->head->get('Content-Type') =~ m{multipart/alternative} )
{
my $inner_first = $first->parts(0);
- if ( $inner_first->head->get('Content-Type') =~ m{text/plain} )
+ if ( $inner_first && $inner_first->head->get('Content-Type') =~ m{text/plain} )
{
$text_part = $inner_first;
}
-----------------------------------------------------------------------
Summary of changes:
rt/lib/RT/EmailParser.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
More information about the freeside-commits
mailing list