Update User.php
This commit is contained in:
parent
c47eabf29d
commit
ed9245e97a
2
User.php
2
User.php
|
|
@ -16,7 +16,7 @@ if(isset($_SESSION['user'])) {
|
||||||
|
|
||||||
// some shitty code by nolanwhy
|
// some shitty code by nolanwhy
|
||||||
// yes i coded all of this inside github editor
|
// 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
|
die("go fuck yourself (no id)"); // todo: redirect to 404
|
||||||
} else {
|
} else {
|
||||||
$id = (int)$_GET["id"];
|
$id = (int)$_GET["id"];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue