]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix for group timeline feeds by name
authorBrion Vibber <brion@pobox.com>
Fri, 26 Feb 2010 05:27:46 +0000 (21:27 -0800)
committerBrion Vibber <brion@pobox.com>
Fri, 26 Feb 2010 05:27:59 +0000 (21:27 -0800)
lib/api.php

index d79dc327edef80a7b1eecb3886f3b2364e0ffbd5..2af150ab994d6f5bc9c60a849fadf0c7c715be41 100644 (file)
@@ -1248,7 +1248,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);
             }
         }
     }