--- og_mandatory_group.module.orig 2007-11-30 09:34:49.000000000 -0800 +++ og_mandatory_group.module 2007-11-30 09:37:32.000000000 -0800 @@ -149,13 +149,19 @@ function og_mandatory_group_menu($may_ca */ function og_mandatory_group_settings() { $options[0] = theme('placeholder', t('none')); - $result = db_query("SELECT n.nid, n.title, o.* FROM {node} n INNER JOIN {og} o ON n.nid = o.nid WHERE (o.selective = %d OR o.selective = %d) ORDER BY n.title", OG_CLOSED, OG_OPEN); + $result = db_query("SELECT n.nid, n.title, o.* FROM {node} n INNER JOIN {og} o ON n.nid = o.nid ORDER BY n.title"); while ($group = db_fetch_object($result)) { $options[$group->nid] = check_plain($group->title); switch ($group->selective) { case OG_OPEN: $options[$group->nid] .= ' '. theme('placeholder', t('Open group, users can unsubscribe.')); break; + case OG_INVITE_ONLY: + $options[$group->nid] .= ' '. theme('placeholder', t('Invite only group, users can unsubscribe.')); + break; + case OG_MODERATED: + $options[$group->nid] .= ' '. theme('placeholder', t('Moderated group, users can unsubscribe.')); + break; case OG_CLOSED: $options[$group->nid] .= ' '. theme('placeholder', t('Closed group, users can not leave.')); break;