From: Byron Jones Date: Thu, 17 Oct 2013 06:00:18 +0000 (+0800) Subject: Bug 927570: mid-air conflict fails to check all changed fields X-Git-Tag: bugzilla-4.5.1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ac1c96dd54289eea591f7c7d3aeb0a57ac6ec8a;p=thirdparty%2Fbugzilla.git Bug 927570: mid-air conflict fails to check all changed fields r=dkl, a=simon --- diff --git a/process_bug.cgi b/process_bug.cgi index 2944e6cf50..19880fe7dd 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -136,8 +136,10 @@ if ($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; }