just print something damn

This commit is contained in:
Thies Mueller 2021-01-10 15:28:59 +01:00
parent 770d4cfbae
commit 18ff87aff3

View File

@ -30,14 +30,7 @@ if(isset($_GET['user']) ) {
$error = "<b>no user found</b>"; $error = "<b>no user found</b>";
} else { } else {
$showForm = false; $showForm = false;
echo 'The User '.$user['username'].' with the ID '.$user['id'].' has:'; echo "adminrights y/n";
if($user['isadmin'] == "0"){
echo "<br>no admin rights";
} if($user['isadmin'] == "1"){
echo "<br> ADMIN RIGHTS!";
} else {
echo "<br><i>A faulty user.</i>";
}
} }
} }
} }