From: cjwatson <> Date: Sun, 16 Feb 2003 09:44:35 +0000 (-0800) Subject: [project @ 2003-02-16 01:44:35 by cjwatson] X-Git-Tag: release/2.6.0~957 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=bc7b952851b0781817b45cd2f0750d8906603cee;p=debbugs.git [project @ 2003-02-16 01:44:35 by cjwatson] Show the age of forwarded bugs (#17156). --- diff --git a/cgi/common.pl b/cgi/common.pl index 95d37936..a23dfcbd 100644 --- a/cgi/common.pl +++ b/cgi/common.pl @@ -173,10 +173,11 @@ sub htmlindexentrystatus { if (length($status{done})) { $result .= ";\nDone: " . htmlsanit($status{done}); - } elsif (length($status{forwarded})) { - $result .= ";\nForwarded to " - . htmlsanit($status{forwarded}); } else { + if (length($status{forwarded})) { + $result .= ";\nForwarded to " + . htmlsanit($status{forwarded}); + } my $daysold = int((time - $status{date}) / 86400); # seconds to days if ($daysold >= 7) { my $font = "";