[Rt-commit] r10334 - in rt/branches/3.7-EXPERIMENTAL: .

ruz at bestpractical.com ruz at bestpractical.com
Sun Jan 13 17:56:02 EST 2008


Author: ruz
Date: Sun Jan 13 17:56:01 2008
New Revision: 10334

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/lib/RT/Action/SendEmail.pm

Log:
 r10158 at cubic-pc:  cubic | 2008-01-09 18:32:13 +0300
 * minor


Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Action/SendEmail.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Action/SendEmail.pm	(original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Action/SendEmail.pm	Sun Jan 13 17:56:01 2008
@@ -822,9 +822,7 @@
     my $self = shift;
     my ( @in_reply_to, @references, @msgid );
 
-    my $attachments = $self->TransactionObj->Message;
-
-    if ( my $top = $attachments->First() ) {
+    if ( my $top = $self->TransactionObj->Message->First ) {
         @in_reply_to = split(/\s+/m, $top->GetHeader('In-Reply-To') || '');  
         @references = split(/\s+/m, $top->GetHeader('References') || '' );  
         @msgid = split(/\s+/m, $top->GetHeader('Message-ID') || ''); 


More information about the Rt-commit mailing list