More useful message when the spamreports have already been closed.
Patch by denise.
diffs (14 lines):
diff -r bbe1e7bc106f -r bdc6e7c36219 htdocs/admin/spamreports.bml
--- a/htdocs/admin/spamreports.bml Fri Jun 12 20:49:28 2009 +0000
+++ b/htdocs/admin/spamreports.bml Fri Jun 12 20:51:49 2009 +0000
@@ -243,8 +243,9 @@
$title = "Close Reports";
$body .= "<?p [ <a href=\"spamreports.bml\"><< Front Page</a> ]
$backlink p?>\n";
+
my $s = $count == 1 ? '' : 's';
- $body .= "Closed $count report$s.\n";
+ $body .= $count > 0 ? "Closed $count report$s.\n" : "Reports were
already closed.";
} else {
# standard
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog