From 24944dfbf6e51f548b42d58d1e601f90787190f3 Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Sun, 13 Oct 2013 02:03:07 -0400 Subject: Bug 926118 - tracking flags are being cleared when making a change to a bug using the webservice api after tracking flag migration --- extensions/TrackingFlags/Extension.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'extensions') 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; -- cgit v1.2.3-24-g4f1b