From a2519127f2ca5590d3aae50d5be8a149be297c51 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 17 Oct 2013 14:00:55 +0800 Subject: Bug 927570: mid-air conflict fails to check all changed fields --- process_bug.cgi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'process_bug.cgi') 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; } -- cgit v1.2.3-24-g4f1b