diff options
author | Georg Ehrke <ownclouddev@georgswebsite.de> | 2012-01-02 11:49:53 +0100 |
---|---|---|
committer | Georg Ehrke <ownclouddev@georgswebsite.de> | 2012-01-02 11:49:53 +0100 |
commit | 534b6f3a098c8f2bb5993592e73f5af75c3c86bc (patch) | |
tree | c609f4429b17c91b41368bbc0fa669e1a3ffbb76 /lib/user.php | |
parent | 4374d55e5e020a1f2673a18991be6f2560e9f2c3 (diff) | |
download | nextcloud-server-534b6f3a098c8f2bb5993592e73f5af75c3c86bc.tar.gz nextcloud-server-534b6f3a098c8f2bb5993592e73f5af75c3c86bc.zip |
Fix whitespace username
Diffstat (limited to 'lib/user.php')
-rw-r--r-- | lib/user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/user.php b/lib/user.php index 241d9aa8b10..0a5881ec0f8 100644 --- a/lib/user.php +++ b/lib/user.php @@ -120,7 +120,7 @@ class OC_User { return false; } // No empty username - if( !$uid ){ + if(trim($uid) == ''){ return false; } // Check if user already exists |