Perfdata experiments

This commit is contained in:
Thomas Gelf 2014-03-08 19:42:03 +01:00
parent 6ebd3e7b0f
commit 20c89bddf2
1 changed files with 2 additions and 1 deletions

View File

@ -82,7 +82,8 @@ class Zend_View_Helper_Perfdata extends Zend_View_Helper_Abstract
$result = $perfdata; $result = $perfdata;
} }
if (! empty($table)) { if (! empty($table)) {
$result = '<table class="perfdata">' . implode("\n", $table) . '</table>' . $result; // TODO: What if we have both? And should we trust sprintf-style placeholders in perfdata titles?
$result = '<table class="perfdata">' . implode("\n", $table) . '</table>';
} }
return $result; return $result;