Update user.php
This commit is contained in:
parent
0e8e1b872f
commit
caa8db86a5
2
user.php
2
user.php
|
|
@ -26,7 +26,7 @@ $q->bindParam(':id',$id,PDO::PARAM_INT);
|
||||||
$q->execute();
|
$q->execute();
|
||||||
$requestUser = $q->fetch();
|
$requestUser = $q->fetch();
|
||||||
if(!$requestUser) {
|
if(!$requestUser) {
|
||||||
die("go fuck yourself (no id"); // todo: redirect to 404
|
die("go fuck yourself (can't find user)"); // todo: redirect to 404
|
||||||
}
|
}
|
||||||
|
|
||||||
$getitstarted = new PartyStarter;
|
$getitstarted = new PartyStarter;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue