Skip to content

Commit 4bc36e7

Browse files
committed
Merge pull request phacility#29 from robocoder/patch-2
fixes PR phacility#20 when using randomly generated run ids
2 parents 62638e0 + da9b48c commit 4bc36e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xhprof_lib/utils/xhprof_lib.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ function xhprof_param_init($params) {
906906
}
907907

908908
if ($k === 'run') {
909-
$p = implode(',', array_filter(explode(',', $p), 'is_numeric'));
909+
$p = implode(',', array_filter(explode(',', $p), 'ctype_xdigit'));
910910
}
911911

912912
// create a global variable using the parameter name.

0 commit comments

Comments
 (0)