forked from Adleraci/adlerka.top
Fix user list
This commit is contained in:
parent
3d73142e0d
commit
473806425f
@ -351,7 +351,7 @@ function listUsers(): array
|
|||||||
|
|
||||||
if (isUserAdmin()) {
|
if (isUserAdmin()) {
|
||||||
$users = [];
|
$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
|
// Check if the query executed Successfully
|
||||||
if ($result) {
|
if ($result) {
|
||||||
|
Loading…
Reference in New Issue
Block a user