]> git.donarmstrong.com Git - debbugs.git/blobdiff - cgi/pkgreport.cgi
* Don't show time to archive for archived bugs
[debbugs.git] / cgi / pkgreport.cgi
index 87525d91ab3f22c3d57b967404313d6f4f0b849c..cca0aaf6c591d8bd1c2fef703598ff3347f7a1b7 100755 (executable)
@@ -644,7 +644,7 @@ sub pkg_htmlindexentrystatus {
                                   status => \%status,
                                   days_until => 1,
                                  );
-        if ($days >= 0) {
+        if ($days >= 0 and $status->{location} ne 'archive') {
             $result .= ";\n<strong>Will be archived" . ( $days == 0 ? " today" : $days == 1 ? " in $days day" : " in $days days" ) . "</strong>";
         }
     }