From 10b99feeb55e16c15d884ba1ce28ac2882368699 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sat, 3 May 2025 01:57:42 +0500 Subject: fix: some errors --- public/emotes/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'public/emotes') diff --git a/public/emotes/index.php b/public/emotes/index.php index 2013f9b..3491ab8 100644 --- a/public/emotes/index.php +++ b/public/emotes/index.php @@ -154,7 +154,7 @@ if (CLIENT_REQUIRES_JSON) { <?php - echo (empty($emotes) ? "Emote " . $emote->get_code() : "Emotes") . ' - ' . INSTANCE_NAME + echo ($emote != null ? "Emote " . $emote->get_code() : "Emotes") . ' - ' . INSTANCE_NAME ?> @@ -177,7 +177,7 @@ if (CLIENT_REQUIRES_JSON) {
-- cgit v1.2.3