summaryrefslogtreecommitdiff
path: root/public/emotesets.php
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-05-11 16:57:48 +0500
committerilotterytea <iltsu@alright.party>2025-05-11 16:57:48 +0500
commita2caf8da676ab5b3c240c13ccc0255b28263a3c5 (patch)
tree5cf467959012f200434920c5e9e1a2f77163b342 /public/emotesets.php
parentc9cb2871abb095420744783158e4c2cc305825b4 (diff)
fix: emoteset id
Diffstat (limited to 'public/emotesets.php')
-rw-r--r--public/emotesets.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/emotesets.php b/public/emotesets.php
index 41257e9..33f8709 100644
--- a/public/emotesets.php
+++ b/public/emotesets.php
@@ -52,7 +52,7 @@ if ($id == "global") {
}
}
}
-} else if (intval($id) <= 0 && intval($alias_id) <= 0) {
+} else if (empty($id) && intval($alias_id) <= 0) {
if (!EMOTESET_PUBLIC_LIST) {
generate_alert("/404.php", "The public list of emotesets is disabled", 403);
exit;