summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-10-11 13:30:09 +0000
committergerv%gerv.net <>2002-10-11 13:30:09 +0000
commit3a6b7a7bb3890ef368cb5f162cc57cdb5160c05b (patch)
tree53fab3c3b0115372b9cddefaf247d04eeb120431 /duplicates.cgi
parentBug 173719 - warnings in report.cgi. Patch by gerv; r=bbaetz. (diff)
downloadbugzilla-3a6b7a7bb3890ef368cb5f162cc57cdb5160c05b.tar.gz
bugzilla-3a6b7a7bb3890ef368cb5f162cc57cdb5160c05b.tar.bz2
bugzilla-3a6b7a7bb3890ef368cb5f162cc57cdb5160c05b.zip
Bug 173808 - Use of uninitialized value in subtraction (-) at duplicates.cgi line 133. Patch by gerv; r=bbaetz.
Diffstat (limited to 'duplicates.cgi')
-rwxr-xr-xduplicates.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/duplicates.cgi b/duplicates.cgi
index 0e27f077e..643a54423 100755
--- a/duplicates.cgi
+++ b/duplicates.cgi
@@ -135,7 +135,7 @@ if (!tie(%before, 'AnyDBM_File', "data/duplicates/dupes$whenever",
}
} else {
# Calculate the deltas
- ($delta{$_} = $count{$_} - $before{$_}) foreach (keys(%count));
+ ($delta{$_} = $count{$_} - ($before{$_} || 0)) foreach (keys(%count));
$dobefore = 1;
}