Fix exception when following command links for multiple selected hosts

This commit is contained in:
Eric Lippmann 2015-05-22 16:51:23 +02:00
parent 1d22d0c989
commit ea8c497539

View File

@ -78,11 +78,6 @@ class Monitoring_HostsController extends Controller
$this->view->form = $form;
$this->view->objects = $this->hostList;
$this->view->stats = $this->hostList->getStateSummary();
$this->view->hostStatesPieChart = InlinePie::createFromStateSummary(
$this->view->stats,
$this->translate('Host State'),
InlinePie::$colorsHostStatesHandledUnhandled
);
$this->_helper->viewRenderer('partials/command/objects-command-form', null, true);
return $form;
}