Fixed bug with counting messages
[clearscm.git] / maps / bin / processaction.cgi
index 7422b74..229a2c3 100755 (executable)
@@ -102,7 +102,10 @@ sub PrintInputLine ($$$$$) {
       ($pattern, $domain) = split /\@/, $email;
     } # if
 
-    $hit_count = CountMsg($email);
+    $hit_count = CountEmail(
+      userid => $userid,
+      additional => "sender like '%$email%'",
+    );
   } # if
 
   print Tr [