? all_og_types_patch.txt ? og_mandatory_2.patch Index: og_mandatory_group.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/og_mandatory_group/og_mandatory_group.module,v retrieving revision 1.4 diff -u -p -r1.4 og_mandatory_group.module --- og_mandatory_group.module 4 Jul 2006 20:39:09 -0000 1.4 +++ og_mandatory_group.module 15 Jul 2006 02:54:25 -0000 @@ -77,7 +77,7 @@ function og_mandatory_group_user($op, &$ function og_mandatory_group_settings() { $options = array(); $values = array(); - $result = db_query("SELECT n.nid, n.title, o.* FROM {node} n INNER JOIN {og} o ON n.nid = o.nid WHERE n.type = 'og' AND (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 WHERE (o.selective = %d OR o.selective = %d) ORDER BY n.title", OG_CLOSED, OG_OPEN); while ($group = db_fetch_object($result)) { $options[$group->nid] = check_plain($group->title); switch ($group->selective) {