From fd9fb70fc28a22d3112d395e93377733194c6528 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sat, 3 May 2025 23:31:30 +0500 Subject: fix: missing ext --- public/emotesets.php | 1 + 1 file changed, 1 insertion(+) (limited to 'public/emotesets.php') diff --git a/public/emotesets.php b/public/emotesets.php index 5405f52..6fdee82 100644 --- a/public/emotesets.php +++ b/public/emotesets.php @@ -146,6 +146,7 @@ if ($id == "global") { $emote_set["emotes"] = $stmt->fetchAll(PDO::FETCH_ASSOC); foreach ($emote_set["emotes"] as &$e) { + $e["ext"] = "webp"; if ($e["uploaded_by"]) { $stmt = $db->prepare("SELECT id, username FROM users WHERE id = ?"); $stmt->execute([$e["uploaded_by"]]); -- cgit v1.2.3