summaryrefslogtreecommitdiffstats
path: root/duplicates.cgi
diff options
context:
space:
mode:
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;
}