diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2013-10-13 08:03:07 +0200 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2013-10-13 08:03:07 +0200 |
commit | 24944dfbf6e51f548b42d58d1e601f90787190f3 (patch) | |
tree | 6622bdff9f082c074344e6941344bc3d55dd1ede /extensions | |
parent | 765cb4c609d25b47bb20e8e33611ddf3f637b691 (diff) | |
download | bugzilla-24944dfbf6e51f548b42d58d1e601f90787190f3.tar.gz bugzilla-24944dfbf6e51f548b42d58d1e601f90787190f3.tar.xz |
Bug 926118 - tracking flags are being cleared when making a change to a bug using the webservice api after tracking flag migration
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/TrackingFlags/Extension.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/TrackingFlags/Extension.pm b/extensions/TrackingFlags/Extension.pm index be9cb9309..426ab9065 100644 --- a/extensions/TrackingFlags/Extension.pm +++ b/extensions/TrackingFlags/Extension.pm @@ -475,7 +475,8 @@ sub bug_end_of_update { my (@flag_changes); foreach my $flag (@$tracking_flags) { - my $new_value = $params->{$flag->name} || '---'; + next if !exists $params->{$flag->name}; + my $new_value = $params->{$flag->name}; my $old_value = $flag->bug_flag->value; next if $new_value eq $old_value; |