From 579a80ebd0fdf1304f305b36058b9c8499d50a45 Mon Sep 17 00:00:00 2001 From: robert Date: Fri, 13 May 2005 19:29:11 +0000 Subject: [PATCH] that function takes two arguments per spec --- 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 74b5b5c..6eed1bf 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', '$val = is_numeric($val)?$val:"U";'); + $walkfunc = create_function('&$val,$key', '$val = is_numeric($val)?$val:"U";'); array_walk($upvals, $walkfunc); } else { -- 2.43.0