Fix for API group methods, caused failure or output corruption when pulling up local groups by name in api/statusnet/groups/is_member.json/xml
This commit is contained in:
parent
9e0b9857f4
commit
a954fd65ba
|
@ -1273,7 +1273,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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user