debug log for missing score
This commit is contained in:
parent
c6c879bdb4
commit
0b87e76945
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user