[Rt-commit] r3251 - in rt/branches/3.4-RELEASE: . lib/RT/Action

jesse at bestpractical.com jesse at bestpractical.com
Fri Jun 24 13:55:12 EDT 2005


Author: jesse
Date: Fri Jun 24 13:55:11 2005
New Revision: 3251

Modified:
   rt/branches/3.4-RELEASE/   (props changed)
   rt/branches/3.4-RELEASE/lib/RT/Action/SendEmail.pm
Log:
 r21522 at hualien:  jesse | 2005-06-23 19:49:51 -0400
 * Some warning avoidance in Action/SendEmail.pm


Modified: rt/branches/3.4-RELEASE/lib/RT/Action/SendEmail.pm
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT/Action/SendEmail.pm	(original)
+++ rt/branches/3.4-RELEASE/lib/RT/Action/SendEmail.pm	Fri Jun 24 13:55:11 2005
@@ -722,9 +722,9 @@
     my $attachments = $self->TransactionObj->Message;
 
     if ( my $top = $attachments->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')); 
+        @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') || ''); 
     }
     else {
         return (undef);


More information about the Rt-commit mailing list