diff --git a/modules/monitoring/application/views/scripts/list/servicegrid.phtml b/modules/monitoring/application/views/scripts/list/servicegrid.phtml index 8f2bc7c78..fac48b012 100644 --- a/modules/monitoring/application/views/scripts/list/servicegrid.phtml +++ b/modules/monitoring/application/views/scripts/list/servicegrid.phtml @@ -41,16 +41,16 @@ $hostFilter = '(host_name=' . implode('|host_name=', array_keys($pivotData)) . ' $serviceDescriptions = array_keys($serviceStates); $serviceFilter = '(service_description=' . implode('|service_description=', $serviceDescriptions) . ')'; -foreach ($serviceDescriptions as $service_description): ?> +foreach ($serviceDescriptions as $serviceDescription): ?> qlink( - '' . (strlen($service_description) > 18 ? substr($service_description, 0, 18) . '...' : $service_description) . '', + '' . (strlen($serviceDescription) > 18 ? substr($serviceDescription, 0, 18) . '...' : $serviceDescription) . '', 'monitoring/list/services?' . $hostFilter, array( - 'service_description' => $service_description + 'service_description' => $serviceDescription ), array( - 'title' => sprintf($this->translate('List all services with the name "%s" on all reported hosts'), $service_description) + 'title' => sprintf($this->translate('List all services with the name "%s" on all reported hosts'), $serviceDescription) ), false ); ?>