Permalink
Browse files

merged from robocoder/xhprof@a29189d

  • Loading branch information...
1 parent 1036bb4 commit cda4c12477c12878a4793fd9d999b5d8e5b944c1 @robocoder robocoder committed Mar 25, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 tests/lib/xhprof-0.9.2/xhprof_lib/utils/xhprof_lib.php
@@ -829,6 +829,10 @@ function xhprof_param_init($params) {
exit();
}
+ if ($k === 'run') {
+ $p = implode(',', array_filter(explode(',', $p), 'is_numeric'));
+ }
+
// create a global variable using the parameter name.
$GLOBALS[$k] = $p;
}

0 comments on commit cda4c12

Please sign in to comment.