]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 559398 - "Old incomplete data warning showing on activity view due to custom...
authorReed Loden <reed@reedloden.com>
Fri, 14 May 2010 12:24:02 +0000 (07:24 -0500)
committerReed Loden <reed@reedloden.com>
Fri, 14 May 2010 12:24:02 +0000 (07:24 -0500)
[r=LpSolit a=LpSolit]

Bugzilla/Bug.pm

index 92db187445cf81d0729026bcca8cf84ad10c4e6d..d926934e6ec27a6322e61b8f59f7d0be78378795 100644 (file)
@@ -3221,7 +3221,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.