diff --git a/application/core/Admin/AdminLists.php b/application/core/Admin/AdminLists.php index bf83d7ae..9dae7cf2 100644 --- a/application/core/Admin/AdminLists.php +++ b/application/core/Admin/AdminLists.php @@ -157,6 +157,7 @@ class AdminLists implements ManialinkPageAnswerListener, CallbackListener { $rightLabel->setX($x + 13.9); $rightLabel->setTextSize(0.8); $rightLabel->setZ(10); + //FIXME, getAuthLevelAbbrev fails $rightLabel->setText($this->maniaControl->authenticationManager->getAuthLevelAbbreviation($admin)); $description = $this->maniaControl->authenticationManager->getAuthLevelName($admin) . " " . $admin->nickname; $rightLabel->addTooltipLabelFeature($descriptionLabel, $description); diff --git a/application/core/Admin/AuthenticationManager.php b/application/core/Admin/AuthenticationManager.php index 255b490c..f9f3dfdc 100644 --- a/application/core/Admin/AuthenticationManager.php +++ b/application/core/Admin/AuthenticationManager.php @@ -234,6 +234,7 @@ class AuthenticationManager implements CallbackListener { * @return string */ public static function getAuthLevelName($authLevelInt) { + //FIXME somehow it fails here (look also AdminList.php) if ($authLevelInt instanceof Player) { $authLevelInt = $authLevelInt->authLevel; } else {