]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix for API group methods, caused failure or output corruption when pulling up local...
authorBrion Vibber <brion@pobox.com>
Wed, 24 Mar 2010 20:36:57 +0000 (13:36 -0700)
committerBrion Vibber <brion@pobox.com>
Wed, 24 Mar 2010 20:38:06 +0000 (13:38 -0700)
lib/apiaction.php

index e4a1df3d198400fd3aa64b03c2a8d36cf5af425e..5cedfaefeec8f39a173275d69606174511e4b445 100644 (file)
@@ -1239,7 +1239,7 @@ class ApiAction extends Action
                 if (empty($local)) {
                     return null;
                 } else {
-                    return User_group::staticGet('id', $local->id);
+                    return User_group::staticGet('id', $local->group_id);
                 }
             }