Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAnthon Pang <apang@softwaredevelopment.ca>2013-03-25 05:07:27 +0400
committerAnthon Pang <apang@softwaredevelopment.ca>2013-03-25 05:07:58 +0400
commitcda4c12477c12878a4793fd9d999b5d8e5b944c1 (patch)
tree2f6a1faed03e253d808a2abccd2da0f4b9a14cf8 /tests
parent1036bb4f283651b6b9623f27f4811ab59a79c15e (diff)
merged from https://github.com/robocoder/xhprof/commit/a29189dd51f6c8cf3939ac6ee10e90139aabb8f4
Diffstat (limited to 'tests')
-rwxr-xr-xtests/lib/xhprof-0.9.2/xhprof_lib/utils/xhprof_lib.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib/xhprof-0.9.2/xhprof_lib/utils/xhprof_lib.php b/tests/lib/xhprof-0.9.2/xhprof_lib/utils/xhprof_lib.php
index fed9487039..9e4610534f 100755
--- a/tests/lib/xhprof-0.9.2/xhprof_lib/utils/xhprof_lib.php
+++ b/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;
}