X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=maps%2Fbin%2Fadd2nulllist.cgi;h=03815fdc4e3525cffc402312c97842675b7e6ac3;hb=64cb05c445d480f29d266e70db6eb1d021d34456;hp=003dbd59e40227b35264d43bd0ea75cee3e5dedb;hpb=e80b69bc05be9f38b1e4b9af37f3232f5004f5e4;p=clearscm.git diff --git a/maps/bin/add2nulllist.cgi b/maps/bin/add2nulllist.cgi index 003dbd5..03815fd 100755 --- a/maps/bin/add2nulllist.cgi +++ b/maps/bin/add2nulllist.cgi @@ -51,6 +51,8 @@ sub Add2List { if ($status != 0) { print br {-class => 'error'}, "The email address $sender is already on ${Userid}'s $type list"; } else { + $hit_count ||= CountMsg $sender; + Add2Nulllist $sender, $userid, $comment, $hit_count; print br "The email address, $sender, has been added to ${Userid}'s $type list";