]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 927570: mid-air conflict fails to check all changed fields
authorByron Jones <bjones@mozilla.com>
Thu, 17 Oct 2013 06:00:18 +0000 (14:00 +0800)
committerByron Jones <bjones@mozilla.com>
Thu, 17 Oct 2013 06:00:18 +0000 (14:00 +0800)
r=dkl, a=simon

process_bug.cgi

index 2944e6cf505c681d96c14b532166738cdf39053d..19880fe7dd39b50c30f16e0bd43b02c14e762062 100755 (executable)
@@ -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;
             }