Update User.php

This commit is contained in:
nolanwhy 2023-02-04 21:36:14 +01:00 committed by GitHub
parent c47eabf29d
commit ed9245e97a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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"];