diff options
author | Loki3000 <github@labcms.ru> | 2017-01-10 13:29:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-10 13:29:35 +0300 |
commit | 5262779101d7dd438b50bb1730bec427703f4742 (patch) | |
tree | 0177e8b4943ea4b3f502aa860ba47c290da0e9e3 /lib/private/Group/Database.php | |
parent | b0ff59d42ffae792a0642ad064e035320f7bc5cb (diff) | |
download | nextcloud-server-5262779101d7dd438b50bb1730bec427703f4742.tar.gz nextcloud-server-5262779101d7dd438b50bb1730bec427703f4742.zip |
fix brackets
Diffstat (limited to 'lib/private/Group/Database.php')
-rw-r--r-- | lib/private/Group/Database.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/private/Group/Database.php b/lib/private/Group/Database.php index 5fe5cf14f39..f79fe9ad753 100644 --- a/lib/private/Group/Database.php +++ b/lib/private/Group/Database.php @@ -203,8 +203,10 @@ class Database extends \OC\Group\Backend { */ public function getUserGroups( $uid ) { //guests has empty $uid - if (empty($uid)) return []; - + if (empty($uid)) { + return []; + } + $this->fixDI(); // No magic! |