Skip to content

Commit da9b48c

Browse files
committed
fixes PR #20 when using randomly generated run ids (better patch by @slava-vishnyakov)
1 parent 62638e0 commit da9b48c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xhprof_lib/utils/xhprof_lib.php

Lines changed: 1 addition & 1 deletion
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)