diff options
author | macjohnny <estebanmarin@gmx.ch> | 2014-06-19 13:28:37 +0200 |
---|---|---|
committer | macjohnny <estebanmarin@gmx.ch> | 2014-06-19 13:28:37 +0200 |
commit | c95416897331fc637ba0c4ae0672c5f4da514627 (patch) | |
tree | fefcd7e304bb9e13a25b418ee9312b090c12169b | |
parent | 18c7c94b7a2aafbcf3578e5aa76cc937b0e31538 (diff) | |
download | nextcloud-server-c95416897331fc637ba0c4ae0672c5f4da514627.tar.gz nextcloud-server-c95416897331fc637ba0c4ae0672c5f4da514627.zip |
Update manager.php
defined $uid in getUserGroupIds
-rw-r--r-- | lib/private/group/manager.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/group/manager.php b/lib/private/group/manager.php index e6470ae3a4e..e0b563ad488 100644 --- a/lib/private/group/manager.php +++ b/lib/private/group/manager.php @@ -189,6 +189,7 @@ class Manager extends PublicEmitter { * @return array with group names */ public function getUserGroupIds($user) { + $uid = $user->getUID(); if (isset($this->cachedUserGroups[$uid])) { return array_keys($this->cachedUserGroups[$uid]); } |