[freeside-commits] branch master updated. 35441752ed24a30b2ccba25db4322d9ddbc88f2d
Ivan
ivan at 420.am
Mon Jul 9 22:28:42 PDT 2012
The branch, master has been updated
via 35441752ed24a30b2ccba25db4322d9ddbc88f2d (commit)
from acf95956ea282bd4145536d1dc6b4f015af42bf5 (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 35441752ed24a30b2ccba25db4322d9ddbc88f2d
Author: Ivan Kohler <ivan at freeside.biz>
Date: Mon Jul 9 22:28:38 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 059a096..dd73d90 100644
--- a/rt/lib/RT/EmailParser.pm
+++ b/rt/lib/RT/EmailParser.pm
@@ -579,7 +579,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