From 937b3fcbee18c33b3db2c8d42fbc97a40ac3164a Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 14 Jun 2007 22:25:57 +0100 Subject: [PATCH] fix typo in archive checking --- cgi/pkgreport.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ) . ""; } } -- 2.39.2