monitoring: Fix exception when scheduling a downtime for multiple hosts

Introduced w/ the Icinga 2 related change for disabling child options.

fixes #10902
This commit is contained in:
Eric Lippmann 2015-12-22 14:59:48 +01:00
parent 25d8215b95
commit fd609b7098
1 changed files with 1 additions and 0 deletions

View File

@ -193,6 +193,7 @@ class HostsController extends Controller
$this->assertPermission('monitoring/command/downtime/schedule');
$form = new ScheduleHostDowntimeCommandForm();
$form->setBackend($this->backend);
$form->setTitle($this->translate('Schedule Host Downtimes'));
$this->handleCommandForm($form);
}