diff --git a/Spam_score.php b/Spam_score.php index 4d2aef4152..c815b42e36 100644 --- a/Spam_score.php +++ b/Spam_score.php @@ -154,7 +154,7 @@ class Spam_score extends Managed_DataObject } } - protected static function scale($score) + public static function scale($score) { $raw = round($score * Spam_score::MAX_SCALE); return max(0, min(Spam_score::MAX_SCALE, $raw));