summaryrefslogtreecommitdiff
path: root/public/emotesets.php
diff options
context:
space:
mode:
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;