]> git.donarmstrong.com Git - debbugs.git/commitdiff
[project @ 2003-02-16 01:44:35 by cjwatson]
authorcjwatson <>
Sun, 16 Feb 2003 09:44:35 +0000 (01:44 -0800)
committercjwatson <>
Sun, 16 Feb 2003 09:44:35 +0000 (01:44 -0800)
Show the age of forwarded bugs (#17156).

cgi/common.pl

index 95d37936be60ee3ac6ecd948379ef990d5b9ee86..a23dfcbd1907a6a223532708d418ca723bd5327d 100644 (file)
@@ -173,10 +173,11 @@ sub htmlindexentrystatus {
 
     if (length($status{done})) {
         $result .= ";\n<strong>Done:</strong> " . htmlsanit($status{done});
-    } elsif (length($status{forwarded})) {
-        $result .= ";\n<strong>Forwarded</strong> to "
-                   . htmlsanit($status{forwarded});
     } else {
+        if (length($status{forwarded})) {
+            $result .= ";\n<strong>Forwarded</strong> to "
+                       . htmlsanit($status{forwarded});
+        }
         my $daysold = int((time - $status{date}) / 86400);   # seconds to days
         if ($daysold >= 7) {
             my $font = "";