summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-10-17 08:00:18 +0200
committerByron Jones <bjones@mozilla.com>2013-10-17 08:00:18 +0200
commit3ac1c96dd54289eea591f7c7d3aeb0a57ac6ec8a (patch)
treedbeab443bdfa4705088c8c4f77b6b70453e490e7 /process_bug.cgi
parent4ea2013f2b11d2346132841b5e8766c045b1d51b (diff)
downloadbugzilla-3ac1c96dd54289eea591f7c7d3aeb0a57ac6ec8a.tar.gz
bugzilla-3ac1c96dd54289eea591f7c7d3aeb0a57ac6ec8a.tar.xz
Bug 927570: mid-air conflict fails to check all changed fields
r=dkl, a=simon
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi6
1 files changed, 4 insertions, 2 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 2944e6cf5..19880fe7d 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;
}