Skip to content

Commit

Permalink
Merge pull request preinheimer#29 from robocoder/patch-2
Browse files Browse the repository at this point in the history
fixes PR preinheimer#20 when using randomly generated run ids
  • Loading branch information
scottmac committed Aug 9, 2013
2 parents 62638e0 + da9b48c commit 4bc36e7
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 4bc36e7

Please sign in to comment.