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.
| Comment | File | Size | Author |
|---|---|---|---|
| spaces_og.module.diff | 466 bytes | adixon |
Comments
Comment #1
adixon commentedFor what it's worth, I think this is the same bug I noted here:
http://drupal.org/node/1253476
but didn't solve then.