From a2caf8da676ab5b3c240c13ccc0255b28263a3c5 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sun, 11 May 2025 16:57:48 +0500 Subject: fix: emoteset id --- public/emotesets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3