fixed if construct
This commit is contained in:
parent
0240c92d58
commit
d66a4e951e
@ -430,8 +430,8 @@ class ErrorHandler {
|
||||
$report['ServerLogin'] = $server->login;
|
||||
}
|
||||
|
||||
if ($settingManager = $this->maniaControl->getSettingManager() && $updateManager = $this->maniaControl->getUpdateManager()) {
|
||||
$report['UpdateChannel'] = $settingManager->getSettingValue($updateManager, UpdateManager::SETTING_UPDATECHECK_CHANNEL);
|
||||
if (($settingManager = $this->maniaControl->getSettingManager()) && ($updateManager = $this->maniaControl->getUpdateManager())) {
|
||||
$report['UpdateChannel'] = $settingManager->getSettingValue($updateManager, $updateManager::SETTING_UPDATECHECK_CHANNEL);
|
||||
$report['ManiaControlVersion'] = ManiaControl::VERSION . ' #' . $updateManager->getBuildDate();
|
||||
} else {
|
||||
$report['ManiaControlVersion'] = ManiaControl::VERSION;
|
||||
|
Loading…
Reference in New Issue
Block a user