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