From: Don Armstrong Date: Sat, 23 Jun 2007 15:50:14 +0000 (+0100) Subject: * Add missing subtraction from bug_archiveable X-Git-Tag: release/2.6.0~536^2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=15dfaaa8cc187a8a8f8586a9793a97b6aac4e04a;hp=c6dfbb11469ffe6c5318037a83059463eb9f2894;p=debbugs.git * Add missing subtraction from bug_archiveable --- 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}) {