From: robert Date: Fri, 13 May 2005 19:29:11 +0000 (+0000) Subject: that function takes two arguments per spec X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=579a80ebd0fdf1304f305b36058b9c8499d50a45;p=php-utility-classes.git that function takes two arguments per spec --- 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 {