diff options
| author | ilotterytea <iltsu@alright.party> | 2025-05-04 00:53:08 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-05-04 00:53:08 +0500 |
| commit | a8c47339340081550596f2ab43032ac2dd69fa7e (patch) | |
| tree | aae2c3f3acd2c6da6081bb6c978cf89e8f294668 | |
| parent | d16358f951d75f96b617f50873e373ac710dcdd5 (diff) | |
fix: id in system/emotes
| -rw-r--r-- | public/system/emotes/manip.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
