]> 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:25:20 +0000 (07:25 -0500)
committerReed Loden <reed@reedloden.com>
Fri, 14 May 2010 12:25:20 +0000 (07:25 -0500)
[r=LpSolit a=LpSolit]

Bugzilla/Bug.pm

index e0acf4c524c96a9941eb374923f8f50c6b552968..9d99822680f270e0c43f5d06d8123dae872227cd 100644 (file)
@@ -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.