From 15dfaaa8cc187a8a8f8586a9793a97b6aac4e04a Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sat, 23 Jun 2007 16:50:14 +0100 Subject: [PATCH 1/1] * Add missing subtraction from bug_archiveable --- Debbugs/Status.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Debbugs/Status.pm b/Debbugs/Status.pm index 2dc7440..6b6fabd 100644 --- a/Debbugs/Status.pm +++ b/Debbugs/Status.pm @@ -698,7 +698,7 @@ sub bug_archiveable{ last if $buggy eq 'found'; $min_fixed_time = min($time_versions{$version},$min_fixed_time); } - $min_archive_days = max($min_archive_days,ceil((time - $min_fixed_time)/(60*60*24))); + $min_archive_days = max($min_archive_days,ceil($config{remove_age} - (time - $min_fixed_time)/(60*60*24))); } # If $param{ignore_time}, then we should ignore time. if ($param{ignore_time}) { -- 2.39.2