From: dklawren Date: Mon, 25 May 2020 20:53:06 +0000 (-0400) Subject: Bug 1639902 - Fix `Use of uninitialized value in string eq at /app/Bugzilla/Bug.pm... X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=73ba3ca8e61daed017317bbc9f08fd863f9ca6fd;p=thirdparty%2Fbugzilla.git Bug 1639902 - Fix `Use of uninitialized value in string eq at /app/Bugzilla/Bug.pm line 4674` --- diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index e18d6da12..77804bee0 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -4671,7 +4671,7 @@ sub GetBugActivity { my $last_change = @$changes[-1] || {}; # Suppress any mid-air collision or duplicated change - if (( $when eq $operation->{'when'} + if (( (exists $operation->{'when'} && $when eq $operation->{'when'}) && $fieldname eq $last_change->{'fieldname'} && $removed eq $last_change->{'removed'} && $added eq $last_change->{'added'}