From a8c47339340081550596f2ab43032ac2dd69fa7e Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sun, 4 May 2025 00:53:08 +0500 Subject: fix: id in system/emotes --- public/system/emotes/manip.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/system') diff --git a/public/system/emotes/manip.php b/public/system/emotes/manip.php index 2c04c3f..2e8c391 100644 --- a/public/system/emotes/manip.php +++ b/public/system/emotes/manip.php @@ -19,7 +19,7 @@ if (!isset($_POST["id"], $_POST["action"])) { exit; } -$id = intval($_POST["id"], 0); +$id = str_safe($_POST["id"], 32); $action = $_POST["action"]; $db = new PDO(DB_URL, DB_USER, DB_PASS); -- cgit v1.2.3