From: Don Armstrong Date: Sun, 26 Oct 2008 18:45:11 +0000 (-0700) Subject: * fix infmessage class display in bugreport.cgi X-Git-Tag: release/2.6.0~467^2~22 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=efdbb44492afc3e987e75fc6b5ad8961a447d38c;p=debbugs.git * fix infmessage class display in bugreport.cgi --- diff --git a/Debbugs/CGI/Bugreport.pm b/Debbugs/CGI/Bugreport.pm index a01c2de..90cf527 100644 --- a/Debbugs/CGI/Bugreport.pm +++ b/Debbugs/CGI/Bugreport.pm @@ -314,7 +314,7 @@ sub handle_record{ local $_ = $record->{type}; if (/html/) { my ($time) = $record->{text} =~ //; - my $class = $record->{text} =~ /^(?:Acknowledgement|Reply|Information|Report|Notification)/ ? 'infmessage':'msgreceived'; + my $class = $record->{text} =~ /^(?:Acknowledgement|Reply|Information|Report|Notification)/m ? 'infmessage':'msgreceived'; $output .= decode_rfc1522($record->{text}); # Link to forwarded http:// urls in the midst of the report # (even though these links already exist at the top)