From ea8c49753904d47e16f31b1d1b0018f0b1016a63 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Fri, 22 May 2015 16:51:23 +0200 Subject: [PATCH] Fix exception when following command links for multiple selected hosts --- .../monitoring/application/controllers/HostsController.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/modules/monitoring/application/controllers/HostsController.php b/modules/monitoring/application/controllers/HostsController.php index 78c8eaa7e..20ae71e6b 100644 --- a/modules/monitoring/application/controllers/HostsController.php +++ b/modules/monitoring/application/controllers/HostsController.php @@ -46,7 +46,7 @@ class Monitoring_HostsController extends Controller 'icon' => 'host' ) )->extend(new DashboardAction())->activate('show'); - + $this->view->listAllLink = Url::fromRequest()->setPath('monitoring/list/hosts')->setQueryString($filterString); } @@ -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; }