diff options
author | gerv%gerv.net <> | 2002-10-11 15:30:09 +0200 |
---|---|---|
committer | gerv%gerv.net <> | 2002-10-11 15:30:09 +0200 |
commit | 3a6b7a7bb3890ef368cb5f162cc57cdb5160c05b (patch) | |
tree | 53fab3c3b0115372b9cddefaf247d04eeb120431 /duplicates.cgi | |
parent | eeec04a1f0a645b3922b2fad4ca76383a2fc8d39 (diff) | |
download | bugzilla-3a6b7a7bb3890ef368cb5f162cc57cdb5160c05b.tar.gz bugzilla-3a6b7a7bb3890ef368cb5f162cc57cdb5160c05b.tar.xz |
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-x | duplicates.cgi | 2 |
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; } |