From 1efa5ce77c7bb47081432e2fe043214e4d7fde9c Mon Sep 17 00:00:00 2001 From: robert Date: Fri, 13 May 2005 19:25:49 +0000 Subject: [PATCH] try it this way --- include/classes/rrdstat.php-class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/classes/rrdstat.php-class b/include/classes/rrdstat.php-class index 1c2306b..74b5b5c 100644 --- a/include/classes/rrdstat.php-class +++ b/include/classes/rrdstat.php-class @@ -157,7 +157,7 @@ class rrdstat { $upvals = explode("\n", ob_get_contents()); ob_end_clean(); } - $walkfunc = create_function('&$val', 'return (is_numeric($val)?$val:"U");'); + $walkfunc = create_function('&$val', '$val = is_numeric($val)?$val:"U";'); array_walk($upvals, $walkfunc); } else { -- 2.43.0