[rt-users] Minor Edit to Interface/Email.pm

Erik Aronesty erik at q32.com
Thu Aug 7 13:35:58 EDT 2008


(I don't have the original so I can't do a diff, but basically the
loop variable should (always) be my'ed to protect it from being
altered.  There was a problem with the MailFrom plugin setting $_ and
then corrupting the loop varialbe!)

----CUT---

   # Since this needs loading, no matter what
   foreach my $Class (@RT::MailPlugins) {
       my ($Code, $NewAuthStat);
       if ( ref($Class) eq "CODE" ) {
           $Code = $Class;
       } else {
           $Class = "RT::Interface::Email::" . $Class
               unless $Class =~ /^RT::Interface::Email::/;



More information about the rt-users mailing list