From: Don Armstrong Date: Thu, 14 Jun 2007 21:25:57 +0000 (+0100) Subject: fix typo in archive checking X-Git-Tag: release/2.6.0~553^2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=937b3fcbee18c33b3db2c8d42fbc97a40ac3164a;p=debbugs.git fix typo in archive checking --- diff --git a/cgi/pkgreport.cgi b/cgi/pkgreport.cgi index 5862dd1..2216b1c 100755 --- a/cgi/pkgreport.cgi +++ b/cgi/pkgreport.cgi @@ -644,7 +644,7 @@ sub pkg_htmlindexentrystatus { status => \%status, days_until => 1, ); - if ($days >= 0 and defined $status->{location} and $status->{location} ne 'archive') { + if ($days >= 0 and defined $status{location} and $status{location} ne 'archive') { $result .= ";\nWill be archived" . ( $days == 0 ? " today" : $days == 1 ? " in $days day" : " in $days days" ) . ""; } }