[Rt-commit] r12982 - in rt/branches/3.8-TESTING: .

jesse at bestpractical.com jesse at bestpractical.com
Fri Jun 6 13:14:47 EDT 2008


Author: jesse
Date: Fri Jun  6 13:14:46 2008
New Revision: 12982

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

Log:
 r32384 at 31b:  jesse | 2008-06-06 13:12:55 -0400
 skip non-existent addresses when showing a list of possible addresses to cc/bcc
 


Modified: rt/branches/3.8-TESTING/lib/RT/Ticket_Overlay.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Ticket_Overlay.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Ticket_Overlay.pm	Fri Jun  6 13:14:46 2008
@@ -1618,6 +1618,8 @@
                 foreach my $addr (@$addrlist) {
                     # Skip addresses without a phrase (things that are just raw addresses) if we have a phrase
                     next if ($addresses{$addr->address} && $addresses{$addr->address}->phrase && not $addr->phrase);
+                    # skips "comment-only" addresses
+                    next unless ($addr->address);
                     $addresses{$addr->address} = $addr;
                 }
         }


More information about the Rt-commit mailing list