summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-12-28 13:26:54 -0500
committerMichael Larabel <michael@phx-laptop.(none)>2008-12-28 13:26:54 -0500
commita545827a3b74ae5c7e8dbefe378d9c42f6b6540e (patch)
tree12353d9f8076237e2fbcdea2b09b35f1870ec433
parentd639c35a0bcafcde50eb9b9bfa09fc71e9860af7 (diff)
downloadphoronix-test-suite-upstream-a545827a3b74ae5c7e8dbefe378d9c42f6b6540e.tar.gz
phoronix-test-suite-upstream-a545827a3b74ae5c7e8dbefe378d9c42f6b6540e.tar.xz
phoronix-test-suite-upstream-a545827a3b74ae5c7e8dbefe378d9c42f6b6540e.zip
pts-core: Fix spacing in pts_trim_spaces()
-rw-r--r--pts-core/functions/pts-functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pts-core/functions/pts-functions.php b/pts-core/functions/pts-functions.php
index d9deaca..a164b47 100644
--- a/pts-core/functions/pts-functions.php
+++ b/pts-core/functions/pts-functions.php
@@ -252,7 +252,7 @@ function pts_trim_spaces($string)
{
while(strpos($string, " ") !== false)
{
- $string = str_replace(" ", "", $string);
+ $string = str_replace(" ", " ", $string);
}
return trim($string);