From 6e8cad5f615fc4398c24ff8a1fe41624f6a187f9 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Wed, 16 Aug 2006 20:32:35 -0700 Subject: [PATCH] * Add links to all blocking bugs --- cgi/bugreport.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cgi/bugreport.cgi b/cgi/bugreport.cgi index a5691558..be375255 100755 --- a/cgi/bugreport.cgi +++ b/cgi/bugreport.cgi @@ -405,9 +405,9 @@ sub handle_record{ # Add links to merged bugs $output =~ s{(?<=Merged )([\d\s]+)(?=\.)}{join(' ',map {bug_links($_)} (split /\s+/, $1))}eo; # Add links to blocked bugs - $output =~ s{(?<=Blocking bugs)(?:(of )(\d+))?( (?:added|set to|removed):\s+)([\d\s]+)} + $output =~ s{(?<=Blocking bugs)(?:(of )(\d+))?( (?:added|set to|removed):\s+)([\d\s\,]+)} {(defined $2?$1.bug_links($2):'').$3. - join(' ',map {bug_links($_)} (split /\s+/, $4))}eo; + join(' ',map {bug_links($_)} (split /\,?\s+/, $4))}eo; # Add links to reassigned packages $output =~ s{(Bug reassigned from package \`)([^\']+)(' to \`)([^\']+)(')} {$1.q($2).$3.q($4).$5}eo; -- 2.39.5