summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_system.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-08-03 16:13:46 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-08-03 16:13:46 -0400
commit1d9eb8738a828a489a597cef2fbb93f6f6be9b54 (patch)
tree3ef0d35e329345a6adb21fdb640692ae67344604 /pts-core/functions/pts-functions_system.php
parent11f8a439beb997f21e2e3ba87de078bd78bf2ed8 (diff)
downloadphoronix-test-suite-upstream-1d9eb8738a828a489a597cef2fbb93f6f6be9b54.tar.gz
phoronix-test-suite-upstream-1d9eb8738a828a489a597cef2fbb93f6f6be9b54.tar.xz
phoronix-test-suite-upstream-1d9eb8738a828a489a597cef2fbb93f6f6be9b54.zip
pts-core: Should be a whole lot more trivial fixes...
Diffstat (limited to 'pts-core/functions/pts-functions_system.php')
-rw-r--r--pts-core/functions/pts-functions_system.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pts-core/functions/pts-functions_system.php b/pts-core/functions/pts-functions_system.php
index 13a5389..6df4e17 100644
--- a/pts-core/functions/pts-functions_system.php
+++ b/pts-core/functions/pts-functions_system.php
@@ -90,7 +90,7 @@ function pts_user_name()
}
else
{
- $username = getenv("USERNAME");
+ $username = trim(getenv("USERNAME"));
}
return $username;