This function fails when the object is a user's content_profile node, because the user information gets overlaid and it uses the user's og_groups instead of the node's og_groups (which should be none).

Simple patch fix attached.

I came across this in an OpenAtrium install.

CommentFileSizeAuthor
spaces_og.module.diff466 bytesadixon

Comments

adixon’s picture

For what it's worth, I think this is the same bug I noted here:
http://drupal.org/node/1253476
but didn't solve then.