From: Reed Loden Date: Fri, 14 May 2010 12:25:20 +0000 (-0500) Subject: Bug 559398 - "Old incomplete data warning showing on activity view due to custom... X-Git-Tag: bugzilla-3.6.1~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3575f34bf4d099a11c52508ccbdd124f9fb1b18a;p=thirdparty%2Fbugzilla.git Bug 559398 - "Old incomplete data warning showing on activity view due to custom field value of '?'" [r=LpSolit a=LpSolit] --- diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index e0acf4c524..9d99822680 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -3180,7 +3180,10 @@ sub GetBugActivity { if ($activity_visible) { # Check for the results of an old Bugzilla data corruption bug - $incomplete_data = 1 if ($added =~ /^\?/ || $removed =~ /^\?/); + if (($added eq '?' && $removed eq '?') + || ($added =~ /^\? / || $removed =~ /^\? /)) { + $incomplete_data = 1; + } # An operation, done by 'who' at time 'when', has a number of # 'changes' associated with it.