From: Byron Jones Date: Thu, 17 Oct 2013 05:59:32 +0000 (+0800) Subject: Bug 927570: mid-air conflict fails to check all changed fields X-Git-Tag: bugzilla-4.4.1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8336c32c81053a4c1ddaed56ec35a44c8a78e6bd;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 1f1bfd7352..4f07507b77 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; }