]> git.donarmstrong.com Git - debbugs.git/commitdiff
fix typo in archive checking
authorDon Armstrong <don@donarmstrong.com>
Thu, 14 Jun 2007 21:25:57 +0000 (22:25 +0100)
committerDon Armstrong <don@donarmstrong.com>
Thu, 14 Jun 2007 21:25:57 +0000 (22:25 +0100)
cgi/pkgreport.cgi

index 5862dd1965d10acd01f1420aedccbfeff67fba78..2216b1cb1206429fc5ecfa661ca7b86a7148697b 100755 (executable)
@@ -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 .= ";\n<strong>Will be archived" . ( $days == 0 ? " today" : $days == 1 ? " in $days day" : " in $days days" ) . "</strong>";
         }
     }