Fix user list
This commit is contained in:
parent
3d73142e0d
commit
473806425f
@ -351,7 +351,7 @@ function listUsers(): array
|
||||
|
||||
if (isUserAdmin()) {
|
||||
$users = [];
|
||||
$result = $mysqli->query("SELECT ID, FirstName, LastName, Nickname, Email, MinecraftNick, PrivilegeLevel, CreatedAt, RegisteredAt, LastLoginAt, LoginCount, CreatedBy FROM Users");
|
||||
$result = $mysqli->query("SELECT ID, FirstName, LastName, Nickname, Email, MinecraftNick, PrivilegeLevel, CreatedAt, RegisteredAt, LastLoginAt, LoginCount, CreatedBy FROM Users WHERE isActivated = 1");
|
||||
|
||||
// Check if the query executed Successfully
|
||||
if ($result) {
|
||||
|
Loading…
Reference in New Issue
Block a user