openscholar/openscholar — pull request #387 by amitaibu (2012-09-23 07:12:16+00:00)
Title: Make sure node is a group-content with a group, before creating a message

Issue #381

We check the group-content has indeed a group using ```og_get_entity_groups()``` -- not just that it is a group-content type.