mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 06:14:25 +02:00
HealthController: Add return statement in new line because render()
returns nothing
This commit is contained in:
parent
63556849c9
commit
8d55385e38
@ -88,7 +88,8 @@ class HealthController extends Controller
|
|||||||
$this->handleFormatRequest($programStatus);
|
$this->handleFormatRequest($programStatus);
|
||||||
$programStatus = $programStatus->fetchRow();
|
$programStatus = $programStatus->fetchRow();
|
||||||
if ($programStatus === false) {
|
if ($programStatus === false) {
|
||||||
return $this->render('not-running', true, null);
|
$this->render('not-running', true, null);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
$this->view->programStatus = $programStatus;
|
$this->view->programStatus = $programStatus;
|
||||||
$toggleFeaturesForm = new ToggleInstanceFeaturesCommandForm();
|
$toggleFeaturesForm = new ToggleInstanceFeaturesCommandForm();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user