Display performance data metrics with value 0

fixes #8744
This commit is contained in:
Alexander A. Klimov 2015-05-12 17:19:20 +02:00
parent d43513dcac
commit 3c73f28157
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class Zend_View_Helper_Perfdata extends Zend_View_Helper_Abstract
if (! $compact) {
foreach ($perfdata->toArray() as $value) {
if ($value === '') {
$value = '-';
$value = '0';
}
$row .= '<td>' . (string) $value . '</td>';
}