summaryrefslogtreecommitdiff
path: root/public/emotesets.php
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-05-03 23:31:30 +0500
committerilotterytea <iltsu@alright.party>2025-05-03 23:31:30 +0500
commitfd9fb70fc28a22d3112d395e93377733194c6528 (patch)
treeee5bdcef3291f8626d87cf588aed2a2f92819168 /public/emotesets.php
parent5118aa3a7c99bb5655957cd50807ba32493e3c68 (diff)
fix: missing ext
Diffstat (limited to 'public/emotesets.php')
-rw-r--r--public/emotesets.php1
1 files changed, 1 insertions, 0 deletions
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"]]);