try it this way
authorrobert <robert>
Fri, 13 May 2005 19:25:49 +0000 (19:25 +0000)
committerrobert <robert>
Fri, 13 May 2005 19:25:49 +0000 (19:25 +0000)
include/classes/rrdstat.php-class

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