that function takes two arguments per spec
authorrobert <robert>
Fri, 13 May 2005 19:29:11 +0000 (19:29 +0000)
committerrobert <robert>
Fri, 13 May 2005 19:29:11 +0000 (19:29 +0000)
include/classes/rrdstat.php-class

index 74b5b5c4116153fcd34f12813fced0f689ae235e..6eed1bf259c75360e3aab44cac1ed2cfc3a78df0 100644 (file)
@@ -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 {