From 0b87e769454e6f15e0f0ae38c5396a34ece30ba5 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 7 Mar 2012 09:04:55 -0600 Subject: [PATCH] debug log for missing score --- ActivitySpamPlugin.php | 1 + 1 file changed, 1 insertion(+) diff --git a/ActivitySpamPlugin.php b/ActivitySpamPlugin.php index 26a0f5c7a5..6950d54554 100644 --- a/ActivitySpamPlugin.php +++ b/ActivitySpamPlugin.php @@ -180,6 +180,7 @@ class ActivitySpamPlugin extends Plugin $score = Spam_score::staticGet('notice_id', $notice->id); if (empty($score)) { + $this->debug("No score for notice " . $notice->id); // XXX: show a question-mark or something } else if ($score->is_spam) { $form = new TrainHamForm($out, $notice); -- 2.39.5