fixed bug not showing mods in adminlist

This commit is contained in:
kremsy 2015-01-13 18:05:04 +01:00
parent c786a89704
commit 888356cf16

View File

@ -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) {