]> git.donarmstrong.com Git - debbugs.git/commitdiff
* call get_bug_status before checking limits
authorDon Armstrong <don@donarmstrong.com>
Thu, 3 Sep 2009 03:08:11 +0000 (20:08 -0700)
committerDon Armstrong <don@donarmstrong.com>
Thu, 3 Sep 2009 03:08:11 +0000 (20:08 -0700)
Debbugs/Control.pm

index 613cb2e7f9cf1a0a4bef8019f8895a2660b8ab40..300bfba32aa3a3678a91e9f02ca75cffc3aad436 100644 (file)
@@ -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;