diff options
-rwxr-xr-x | process_bug.cgi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index b18398687..259b48bdd 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -177,8 +177,10 @@ if (defined $cgi->param('delta_ts')) if (!$do_midair) { foreach my $operation (@{ $vars->{'operations'} }) { foreach my $change (@{ $operation->{'changes'} }) { - $do_midair = 1 if $change->{'fieldname'} ne 'cc'; - last; + if ($change->{'fieldname'} ne 'cc') { + $do_midair = 1; + last; + } } last if $do_midair; } |