From 21111f62ff8b3a4423253ab544831cfeec552ba7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 17 Jun 2015 22:09:02 +0300 Subject: [PATCH] bayes: fix typo --- plugins/af_sort_bayes/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/af_sort_bayes/init.php b/plugins/af_sort_bayes/init.php index 51a6f38b..517d684d 100644 --- a/plugins/af_sort_bayes/init.php +++ b/plugins/af_sort_bayes/init.php @@ -79,7 +79,7 @@ class Af_Sort_Bayes extends Plugin { switch ($current_category) { case "UGLY": $dst_category = "BAD"; - $score = $this->score_modifier; + $score = -$this->score_modifier; break; case "BAD": $dst_category = "BAD"; -- 2.39.5