summaryrefslogtreecommitdiff
path: root/lib/apiaction.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-03-24 23:33:00 +0100
committerSarven Capadisli <csarven@status.net>2010-03-24 23:33:00 +0100
commit5330e9d861a99dfee9d67160fb125ce2ef86e608 (patch)
tree76041023a4b85c6ae9113fc9726bbe739230ff2b /lib/apiaction.php
parent97e83112d249cd2fbb281da59c80d43e0fe33818 (diff)
parentecb009bcf5a6893b90d153be18c423dd7377796d (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'lib/apiaction.php')
-rw-r--r--lib/apiaction.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/apiaction.php b/lib/apiaction.php
index e6aaf9316..9fc1a0779 100644
--- a/lib/apiaction.php
+++ b/lib/apiaction.php
@@ -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);
}
}