From: Don Armstrong Date: Thu, 3 Sep 2009 03:08:11 +0000 (-0700) Subject: * call get_bug_status before checking limits X-Git-Tag: release/2.6.0~438^2~1 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=5bb520d993014b320405d719a276c9e02e000dee;p=debbugs.git * call get_bug_status before checking limits --- diff --git a/Debbugs/Control.pm b/Debbugs/Control.pm index 613cb2e..300bfba 100644 --- a/Debbugs/Control.pm +++ b/Debbugs/Control.pm @@ -2799,6 +2799,9 @@ sub __check_limit{ my $transcript = globify_scalar(exists $param{transcript}?$param{transcript}:undef); my $going_to_fail = 0; for my $data (@data) { + $data = get_bug_status(bug => $data->{bug_num}, + status => dclone($data), + ); for my $field (keys %{$param{limit}}) { next unless exists $param{limit}{$field}; my $match = 0;