[Rt-commit] r12608 - in rt/branches/3.8-TESTING: lib/RT/Interface

alexmv at bestpractical.com alexmv at bestpractical.com
Wed May 21 13:45:44 EDT 2008


Author: alexmv
Date: Wed May 21 13:45:37 2008
New Revision: 12608

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/lib/RT/Interface/Email.pm

Log:
 r32054 at kohr-ah:  chmrr | 2008-05-21 13:45:20 -0400
 RT-Ticket: 6002
 RT-Status: resolved
 RT-Update: comment
 
 Applied to 3.8.  Also, I think 'or' reads better than '||' -- so,
 neener neener, ticket #6002 peanut gallery!
 


Modified: rt/branches/3.8-TESTING/lib/RT/Interface/Email.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Interface/Email.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Interface/Email.pm	Wed May 21 13:45:37 2008
@@ -150,7 +150,8 @@
     my ( $From, $junk ) = ParseSenderAddressFromHead($head);
 
     if (   ( $From =~ /^mailer-daemon\@/i )
-        or ( $From =~ /^postmaster\@/i ) )
+        or ( $From =~ /^postmaster\@/i )
+        or ( $From eq "" ))
     {
         return (1);
 


More information about the Rt-commit mailing list