summaryrefslogtreecommitdiff
path: root/public/emotes/index.php
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-05-11 16:56:52 +0500
committerilotterytea <iltsu@alright.party>2025-05-11 16:56:52 +0500
commitc9cb2871abb095420744783158e4c2cc305825b4 (patch)
tree229f552bdecb5d32da518f96f101d697a975eab3 /public/emotes/index.php
parentf2690a42235297c357bcd8abbf6e194db7b7bd57 (diff)
feat: option for minimal amount of votes for emote ratings
Diffstat (limited to 'public/emotes/index.php')
-rw-r--r--public/emotes/index.php2
1 files changed, 1 insertions, 1 deletions
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) {
<tr>
<th>Rating</th>
<?php
- if ($emote->get_rating()["total"] < 10) {
+ if ($emote->get_rating()["total"] < RATING_EMOTE_MIN_VOTES) {
echo '<td>Not rated (' . $emote->get_rating()["total"] . ')</td>';
} else {