diff options
author | Ivan Kohler <ivan@freeside.biz> | 2012-07-09 22:28:38 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2012-07-09 22:28:38 -0700 |
commit | 35441752ed24a30b2ccba25db4322d9ddbc88f2d (patch) | |
tree | d0545626636c4811451e93c16bb6ff56f0d7174c /rt | |
parent | acf95956ea282bd4145536d1dc6b4f015af42bf5 (diff) |
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
Diffstat (limited to 'rt')
-rw-r--r-- | rt/lib/RT/EmailParser.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rt/lib/RT/EmailParser.pm b/rt/lib/RT/EmailParser.pm index 059a0967a..dd73d9049 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; } |