From 18ff87aff3a5022330911fcc95661bd09a507200 Mon Sep 17 00:00:00 2001 From: Thies Mueller Date: Sun, 10 Jan 2021 15:28:59 +0100 Subject: [PATCH] just print something damn --- adminarea_admins.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/adminarea_admins.php b/adminarea_admins.php index ab19d54..149b65c 100644 --- a/adminarea_admins.php +++ b/adminarea_admins.php @@ -30,14 +30,7 @@ if(isset($_GET['user']) ) { $error = "no user found"; } else { $showForm = false; - echo 'The User '.$user['username'].' with the ID '.$user['id'].' has:'; - if($user['isadmin'] == "0"){ - echo "
no admin rights"; - } if($user['isadmin'] == "1"){ - echo "
ADMIN RIGHTS!"; - } else { - echo "
A faulty user."; - } + echo "adminrights y/n"; } } }