From c9cb2871abb095420744783158e4c2cc305825b4 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sun, 11 May 2025 16:56:52 +0500 Subject: feat: option for minimal amount of votes for emote ratings --- public/emotes/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/emotes/index.php') diff --git a/public/emotes/index.php b/public/emotes/index.php index 811ada2..9a33d1d 100644 --- a/public/emotes/index.php +++ b/public/emotes/index.php @@ -401,7 +401,7 @@ if (CLIENT_REQUIRES_JSON) { Rating get_rating()["total"] < 10) { + if ($emote->get_rating()["total"] < RATING_EMOTE_MIN_VOTES) { echo 'Not rated (' . $emote->get_rating()["total"] . ')'; } else { -- cgit v1.2.3