[Rt-commit] r14810 - in rt/3.8/trunk: .
falcone at bestpractical.com
falcone at bestpractical.com
Tue Aug 5 17:44:01 EDT 2008
Author: falcone
Date: Tue Aug 5 17:44:00 2008
New Revision: 14810
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/lib/RT/Ticket_Overlay.pm
Log:
r37759 at ketch: falcone | 2008-08-05 17:43:45 -0400
* Work around Email::Address's treatment of local addresses/usernames
Modified: rt/3.8/trunk/lib/RT/Ticket_Overlay.pm
==============================================================================
--- rt/3.8/trunk/lib/RT/Ticket_Overlay.pm (original)
+++ rt/3.8/trunk/lib/RT/Ticket_Overlay.pm Tue Aug 5 17:44:00 2008
@@ -430,7 +430,7 @@
if ( $watcher =~ /^\d+$/ ) {
push @{ $args{$type} }, $watcher;
} else {
- my @addresses = Email::Address->parse( $watcher );
+ my @addresses = RT::EmailParser->ParseEmailAddress( $watcher );
foreach my $address( @addresses ) {
my $user = RT::User->new( $RT::SystemUser );
my ($uid, $msg) = $user->LoadOrCreateByEmail( $address );
More information about the Rt-commit
mailing list