From bc7b952851b0781817b45cd2f0750d8906603cee Mon Sep 17 00:00:00 2001 From: cjwatson <> Date: Sun, 16 Feb 2003 01:44:35 -0800 Subject: [PATCH] [project @ 2003-02-16 01:44:35 by cjwatson] Show the age of forwarded bugs (#17156). --- cgi/common.pl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 = ""; -- 2.39.5