diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-04-29 12:25:27 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-05-22 13:59:07 +0200 |
commit | eceb3c8ed5f3068808bc8fc5ceec5fda1ac50db9 (patch) | |
tree | 1bc89bd6cc323d864b5035c497d69436470e2e9a /lib/user/database.php | |
parent | 1b68c0c0cdf1fb68149efd18e661be0a38bcfd62 (diff) | |
download | nextcloud-server-eceb3c8ed5f3068808bc8fc5ceec5fda1ac50db9.tar.gz nextcloud-server-eceb3c8ed5f3068808bc8fc5ceec5fda1ac50db9.zip |
add debug output
Diffstat (limited to 'lib/user/database.php')
-rw-r--r-- | lib/user/database.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/user/database.php b/lib/user/database.php index 63c64ed43d3..d70b620f2ab 100644 --- a/lib/user/database.php +++ b/lib/user/database.php @@ -136,7 +136,7 @@ class OC_User_Database extends OC_User_Backend { */ public function getDisplayName($uid) { if( $this->userExists($uid) ) { - $query = OC_DB::prepare( 'SELECT displayname FROM `*PREFIX*users` WHERE `uid` = ?' ); + $query = OC_DB::prepare( 'SELECT `displayname` FROM `*PREFIX*users` WHERE `uid` = ?' ); $result = $query->execute( array( $uid ))->fetchAll(); $displayName = trim($result[0]['displayname'], ' '); if ( !empty($displayName) ) { |