diff --git a/includes/views/og.views.inc b/includes/views/og.views.inc index 9e9f530..b6fc64c 100644 --- a/includes/views/og.views.inc +++ b/includes/views/og.views.inc @@ -65,9 +65,10 @@ class OgMembershipViewsController extends EntityDefaultViewsController { */ function og_views_data_alter(&$data) { $group_content_entities = og_get_all_group_content_entity(); + $group_entities = og_get_all_group_entity(); foreach (entity_get_info() as $entity_type => $info) { - if (empty($group_content_entities[$entity_type])) { + if (empty($group_content_entities[$entity_type]) and empty($group_entities[$entity_type])) { continue; }