mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +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);
|
||||
$programStatus = $programStatus->fetchRow();
|
||||
if ($programStatus === false) {
|
||||
return $this->render('not-running', true, null);
|
||||
$this->render('not-running', true, null);
|
||||
return;
|
||||
}
|
||||
$this->view->programStatus = $programStatus;
|
||||
$toggleFeaturesForm = new ToggleInstanceFeaturesCommandForm();
|
||||
|
Loading…
x
Reference in New Issue
Block a user