From: Don Armstrong Date: Sat, 10 Jun 2006 05:54:19 +0000 (-0700) Subject: * Fix the ISE in pkgreport.cgi upon severity reversal X-Git-Tag: release/2.6.0~606^2^2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=5e95a5491aa7e50a2c82706cdce6eda82c61bba6;p=debbugs.git * Fix the ISE in pkgreport.cgi upon severity reversal --- diff --git a/cgi/pkgreport.cgi b/cgi/pkgreport.cgi index 4dbd04dc..1e7203fd 100755 --- a/cgi/pkgreport.cgi +++ b/cgi/pkgreport.cgi @@ -1015,9 +1015,9 @@ sub buglinklist { # sets: my @names; my @prior; my @title; my @order; sub determine_ordering { - $cats{"status"}->{"ord"} = [ reverse @{$cats{"status"}->{"ord"}} ] + $cats{status}[0]{ord} = [ reverse @{$cats{status}[0]{ord}} ] if ($pend_rev); - $cats{"severity"}->{"ord"} = [ reverse @{$cats{"severity"}->{"ord"}} ] + $cats{severity}[0]{ord} = [ reverse @{$cats{severity}[0]{ord}} ] if ($sev_rev); if (defined $param{"pri0"}) { diff --git a/debian/changelog b/debian/changelog index 30164c27..5fbd4b18 100644 --- a/debian/changelog +++ b/debian/changelog @@ -113,6 +113,8 @@ debbugs (2.4.2) UNRELEASED; urgency=low UTF8 material. (closes: #364026) - Add links to Closes: text for closed bugs. (closes: #320986) - Add X-$gProject-PR-Source: line (closes: #219230) + - Use the %cats data structure properly in pkgreport.cgi + (closes: #367514) -- Colin Watson Fri, 20 Jun 2003 18:57:25 +0100