projects
/
php-utility-classes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
that function takes two arguments per spec
[php-utility-classes.git]
/
include
/
classes
/
rrdstat.php-class
diff --git
a/include/classes/rrdstat.php-class
b/include/classes/rrdstat.php-class
index 55ffaec9d380e2ac7099597ddfb7757a92c91149..6eed1bf259c75360e3aab44cac1ed2cfc3a78df0 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,$key', '$val = is_numeric($val)?$val:"U";');
+ array_walk($upvals, $walkfunc);
}
else {
foreach ($this->rrd_fields as $ds) {