projects
/
php-utility-classes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b61757c
)
replace all non-numeric values in update array with U for unknown
author
robert
<robert>
Fri, 13 May 2005 19:24:21 +0000
(19:24 +0000)
committer
robert
<robert>
Fri, 13 May 2005 19:24:21 +0000
(19:24 +0000)
include/classes/rrdstat.php-class
patch
|
blob
|
blame
|
history
diff --git
a/include/classes/rrdstat.php-class
b/include/classes/rrdstat.php-class
index 55ffaec9d380e2ac7099597ddfb7757a92c91149..1c2306bb56f294f43a3743f1cf381cbc1ea50b8c 100644
(file)
--- a/
include/classes/rrdstat.php-class
+++ b/
include/classes/rrdstat.php-class
@@
-157,6
+157,8
@@
class rrdstat {
$upvals = explode("\n", ob_get_contents());
ob_end_clean();
}
+ $walkfunc = create_function('&$val', 'return (is_numeric($val)?$val:"U");');
+ array_walk($upvals, $walkfunc);
}
else {
foreach ($this->rrd_fields as $ds) {