diff --git a/core/Admin/ColorManager.php b/core/Admin/ColorManager.php index e6f7da07..b8ade092 100644 --- a/core/Admin/ColorManager.php +++ b/core/Admin/ColorManager.php @@ -72,7 +72,7 @@ class ColorManager implements UsageInformationAble { * @return string */ public function getColorByName($authName) { - switch ($authLevel) { + switch ($authName) { case AuthenticationManager::AUTH_NAME_PLAYER: return $this->maniaControl->getSettingManager()->getSettingValue($this, self::SETTING_COLOR_PLAYER); case AuthenticationManager::AUTH_NAME_MODERATOR: diff --git a/core/Update/ChangeLog.php b/core/Update/ChangeLog.php index eea13b15..aad6611e 100644 --- a/core/Update/ChangeLog.php +++ b/core/Update/ChangeLog.php @@ -84,6 +84,7 @@ class ChangeLog implements CommandListener { $posX = -0.45*$width; $initialPosY = 0.4*$height - 5; + $posY = $initialPosY; $changelog = $this->getChangeLogArray(); if (empty($changelog)) {