]> git.wh0rd.org Git - tt-rss.git/commitdiff
bayes: fix typo
authorAndrew Dolgov <noreply@fakecake.org>
Wed, 17 Jun 2015 19:09:02 +0000 (22:09 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Wed, 17 Jun 2015 19:09:02 +0000 (22:09 +0300)
plugins/af_sort_bayes/init.php

index 51a6f38bba3ff308899db7e7d6f9a3e5b17006e7..517d684d4b42aaf74a9426097885c0dc928d3400 100644 (file)
@@ -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";