From ed9245e97a1902ea0ea1410626b9d8f21f7dd6af Mon Sep 17 00:00:00 2001 From: nolanwhy <69528856+nolanwhy@users.noreply.github.com> Date: Sat, 4 Feb 2023 21:36:14 +0100 Subject: [PATCH] Update User.php --- User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/User.php b/User.php index bcc0313..609dd91 100644 --- a/User.php +++ b/User.php @@ -16,7 +16,7 @@ if(isset($_SESSION['user'])) { // some shitty code by nolanwhy // yes i coded all of this inside github editor -if(!isset($_GET["ID"]) { +if(!isset($_GET["id"])) { die("go fuck yourself (no id)"); // todo: redirect to 404 } else { $id = (int)$_GET["id"];