diff options
| author | ilotterytea <iltsu@alright.party> | 2025-05-11 16:56:52 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-05-11 16:56:52 +0500 |
| commit | c9cb2871abb095420744783158e4c2cc305825b4 (patch) | |
| tree | 229f552bdecb5d32da518f96f101d697a975eab3 /public/emotes | |
| parent | f2690a42235297c357bcd8abbf6e194db7b7bd57 (diff) | |
feat: option for minimal amount of votes for emote ratings
Diffstat (limited to 'public/emotes')
| -rw-r--r-- | public/emotes/index.php | 2 |
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 { |
