aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReed Loden <reed@reedloden.com>2010-05-14 07:24:02 -0500
committerReed Loden <reed@reedloden.com>2010-05-14 07:24:02 -0500
commitc42c5a57913833c61616aae4ccaaa4f000c1d811 (patch)
tree8550b42a62ca9d2cbe884571811a1085b6be8e02
parent4d63354a757f487a391653a072661044d964e91f (diff)
downloadbugs-c42c5a57913833c61616aae4ccaaa4f000c1d811.tar
bugs-c42c5a57913833c61616aae4ccaaa4f000c1d811.tar.gz
bugs-c42c5a57913833c61616aae4ccaaa4f000c1d811.tar.bz2
bugs-c42c5a57913833c61616aae4ccaaa4f000c1d811.tar.xz
bugs-c42c5a57913833c61616aae4ccaaa4f000c1d811.zip
Bug 559398 - "Old incomplete data warning showing on activity view due to custom field value of '?'"
[r=LpSolit a=LpSolit]
-rw-r--r--Bugzilla/Bug.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index 92db18744..d926934e6 100644
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -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.