]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix brackets
authorLoki3000 <github@labcms.ru>
Tue, 10 Jan 2017 10:29:35 +0000 (13:29 +0300)
committerGitHub <noreply@github.com>
Tue, 10 Jan 2017 10:29:35 +0000 (13:29 +0300)
lib/private/Group/Database.php

index 5fe5cf14f399daa57d5521970866285388289c55..f79fe9ad753ad415d3fbe324587810bc0d8c3a3c 100644 (file)
@@ -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!