From 2b0cb344dae271c676ce69513ee2c4630eb2d768 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Wed, 11 Nov 2015 15:20:24 +0100 Subject: [PATCH] monitoring: Fix performance data table markup, #2 refs #5543 --- modules/monitoring/application/views/helpers/Perfdata.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/monitoring/application/views/helpers/Perfdata.php b/modules/monitoring/application/views/helpers/Perfdata.php index 24a9c8f10..0ed5ccb95 100644 --- a/modules/monitoring/application/views/helpers/Perfdata.php +++ b/modules/monitoring/application/views/helpers/Perfdata.php @@ -61,7 +61,7 @@ class Zend_View_Helper_Perfdata extends Zend_View_Helper_Abstract $headers[$column] = $labels[$column]; } } - $table = array('' . implode('', $headers) . ''); + $table = array('' . implode('', $headers) . ''); foreach ($pieChartData as $perfdata) { if ($compact && $perfdata->isVisualizable()) { $results[] = $perfdata->asInlinePie($color)->render(); @@ -85,9 +85,10 @@ class Zend_View_Helper_Perfdata extends Zend_View_Helper_Abstract ); } } - $table []= '' . implode('', $data) . ''; + $table []= '' . implode('', $data) . ''; } } + $table[] = ''; if ($limit > 0) { $count = $compact ? count($results) : count($table); if ($count > $limit) {