Skip to content

Commit

Permalink
fixes PR preinheimer#20 when using randomly generated run ids (better…
Browse files Browse the repository at this point in the history
… patch by @slava-vishnyakov)
  • Loading branch information
robocoder committed Jul 25, 2013
1 parent 62638e0 commit da9b48c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xhprof_lib/utils/xhprof_lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ function xhprof_param_init($params) {
}

if ($k === 'run') {
$p = implode(',', array_filter(explode(',', $p), 'is_numeric'));
$p = implode(',', array_filter(explode(',', $p), 'ctype_xdigit'));
}

// create a global variable using the parameter name.
Expand Down

0 comments on commit da9b48c

Please sign in to comment.