? og_user_groups.patch
Index: og.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/og/og.module,v
retrieving revision 1.110.2.159
diff -u -p -r1.110.2.159 og.module
--- og.module	2 Jan 2007 04:01:42 -0000	1.110.2.159
+++ og.module	14 Feb 2007 15:00:55 -0000
@@ -867,9 +867,9 @@ function og_list_users_page($gid) {
 
 function og_list_groups_page($uid = NULL, $format = 'html') {
   global $user;
-  
-  // workaround for the fact that anon users are served the 'og' manu item when they request a page like og/manage/x or og/user/x
-  if ($uid != NULL && arg(2) != 'opml' && !is_int($uid)) {
+
+  // workaround for the fact that anon users are served the 'og' menu item when they request a page like og/manage/x or og/user/x
+  if ($uid != NULL && arg(2) != 'opml' && arg(1) != 'user' && !is_int($uid)) {
     drupal_access_denied();
   }
 
