diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-10-19 22:39:39 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-10-19 22:39:39 -0400 |
commit | 3e76397a3718f6ad0bf709da52054e867434cfef (patch) | |
tree | 536f960624ecd652153c6edc5267e5d563c058b6 /pts-core/functions/pts-functions-extra.php | |
parent | 83b87790c77c30e0c9def0baf38702b9adfeac44 (diff) | |
download | phoronix-test-suite-upstream-3e76397a3718f6ad0bf709da52054e867434cfef.tar.gz phoronix-test-suite-upstream-3e76397a3718f6ad0bf709da52054e867434cfef.tar.xz phoronix-test-suite-upstream-3e76397a3718f6ad0bf709da52054e867434cfef.zip |
pts-core: Support for running a test from a PTS graph file that's
rendered as an SVG and then the user will be prompted with available
choices
Diffstat (limited to 'pts-core/functions/pts-functions-extra.php')
-rw-r--r-- | pts-core/functions/pts-functions-extra.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pts-core/functions/pts-functions-extra.php b/pts-core/functions/pts-functions-extra.php index 16d562a..d88ee3c 100644 --- a/pts-core/functions/pts-functions-extra.php +++ b/pts-core/functions/pts-functions-extra.php @@ -211,10 +211,7 @@ function pts_estimated_time_string($time) { $time_trim = explode(",", $time_trim); - for($i = 0; $i < count($time_trim); $i++) - { - $time_trim[$i] = trim($time_trim[$i]); - } + $time_trim = array_map("trim", $time_trim); if(count($time_trim) == 2) { |