diff options
author | nishiki <nishiki@yaegashi.fr> | 2014-03-09 12:47:19 +0100 |
---|---|---|
committer | nishiki <nishiki@yaegashi.fr> | 2014-03-09 12:47:19 +0100 |
commit | ba9d8f7c1a448e0a769ee31d20ee75c1616b22e7 (patch) | |
tree | 64acc1ce6798997009fb149a6f53fcc424954b33 /lib/private | |
parent | 75011c2e09e2ee7e9c76a86e938c4d8656225352 (diff) | |
download | nextcloud-server-ba9d8f7c1a448e0a769ee31d20ee75c1616b22e7.tar.gz nextcloud-server-ba9d8f7c1a448e0a769ee31d20ee75c1616b22e7.zip |
fix undifined uid
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/user/database.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/user/database.php b/lib/private/user/database.php index 57ecdda9dad..591ea2a5c98 100644 --- a/lib/private/user/database.php +++ b/lib/private/user/database.php @@ -239,7 +239,8 @@ class OC_User_Database extends OC_User_Backend { } while ($row = $result->fetchRow()) { - self::$cache[$uid]['uid'] = $row['uid']; + $uid = $row['uid']; + self::$cache[$uid]['uid'] = $uid; self::$cache[$uid]['displayname'] = $row['displayname']; } |