When you click on a group name, the breadcrumb item that leads you to 'og', which triggers og_list_groups_page() returns 0 groups found.
The 'core' reason it's doing this is because the og_directory checkbox has been commented out in og-mega-patch, presumably because we don't want to give people the option of hiding their group from the directory. And even though the code above that sets $directory = 1 if it's not found, this doesn't seem to carry over into $_POST['edit']... $directory is not declared, therefore it returns a NULL value and ends up being 0 (or hidden) in the database.
This is an interesting bug, because we have GJG code "live" in the field on 4 different sites. 2 of them exhibit this problem and 2 of them don't. The PHP versions are all over the map and don't seem to correlate to anything.
What I'm going to do for now is alter the og-mega-patch so that in addition to the commented out line, it adds a hidden field that forces og_directory to be equal to 1. I'm searching for a more elegant solution to this and will post it over on the OG module's issue tracker at http://drupal.org/project/issues/13446
Comments
Comment #1
webchickNew patch committed.
Comment #2
webchickClosing; the fix seems to work well enough for now.