From 888356cf16eac66aa33056e52856238c1eed4cff Mon Sep 17 00:00:00 2001 From: kremsy Date: Tue, 13 Jan 2015 18:05:04 +0100 Subject: [PATCH] fixed bug not showing mods in adminlist --- core/Admin/AuthenticationManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Admin/AuthenticationManager.php b/core/Admin/AuthenticationManager.php index 610f2ab8..30a5b881 100644 --- a/core/Admin/AuthenticationManager.php +++ b/core/Admin/AuthenticationManager.php @@ -242,7 +242,7 @@ class AuthenticationManager implements CallbackListener { public function getAdmins($authLevel = self::AUTH_LEVEL_MODERATOR) { $mysqli = $this->maniaControl->getDatabase()->getMysqli(); $query = "SELECT `login` FROM `" . PlayerManager::TABLE_PLAYERS . "` - WHERE `authLevel` > " . $authLevel . " + WHERE `authLevel` >= " . $authLevel . " ORDER BY `authLevel` DESC;"; $result = $mysqli->query($query); if (!$result) {