mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 14:54:24 +02:00
parent
e2ba172a8e
commit
b7f4fa4a29
@ -19,7 +19,7 @@ class Zend_View_Helper_Perfdata extends Zend_View_Helper_Abstract
|
|||||||
|
|
||||||
$pset = PerfdataSet::fromString($perfdata);
|
$pset = PerfdataSet::fromString($perfdata);
|
||||||
$ps = $pset->getAll();
|
$ps = $pset->getAll();
|
||||||
$perfdata = preg_replace('~\'([^\']+)\'~e', "str_replace(' ', '\'', '$1')", $perfdata);
|
$perfdata = preg_replace_callback('~\'([^\']+)\'~', function($match) { return str_replace(' ', '\'', $match[1]); }, $perfdata);
|
||||||
$parts = preg_split('~\s+~', $perfdata, -1, PREG_SPLIT_NO_EMPTY);
|
$parts = preg_split('~\s+~', $perfdata, -1, PREG_SPLIT_NO_EMPTY);
|
||||||
|
|
||||||
$table = array();
|
$table = array();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user