From 6a5422078d49a2ce57eb4da540c41b8e0f6789fe Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Fri, 8 Aug 2008 11:40:44 -0700 Subject: [PATCH] * Switch from bug_url to bug_links --- Debbugs/CGI/Bugreport.pm | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Debbugs/CGI/Bugreport.pm b/Debbugs/CGI/Bugreport.pm index cb1f48c..f86b2fc 100644 --- a/Debbugs/CGI/Bugreport.pm +++ b/Debbugs/CGI/Bugreport.pm @@ -245,10 +245,7 @@ sub display_entity { $body =~ s[(closes:\s*(?:bug)?\#?\s?\d+(?:,?\s*(?:bug)?\#?\s?\d+)*)] [my $temp = $1; $temp =~ s{(\d+)} - {qq($1) - }ge; + {bug_links(bug=>$1)}ge; $temp;]gxie; if (not exists $param{att}) { @@ -332,8 +329,8 @@ sub handle_record{ if (defined $time) { $output .= ' ('.strftime('%a, %d %b %Y %T GMT',gmtime($time)).') '; } - $output .= 'Full text and rfc822 format available.'; + $output .= 'Full text and rfc822 format available.'; $output = qq(

\n\n) . $output . "
\n"; } @@ -346,7 +343,7 @@ sub handle_record{ $$seen_msg_ids{$msg_id} = 1; } $output .= qq(

\n); - $output .= 'View this message in rfc822 format

'; + $output .= 'View this message in rfc822 format

'; $output .= handle_email_message($record->{text}, ref => $bug_number, msg_num => $msg_number, -- 2.39.2