Index: openacs-4/packages/acs-kernel/sql/postgresql/acs-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/postgresql/acs-create.sql,v
diff -u -r1.22 -r1.23
--- openacs-4/packages/acs-kernel/sql/postgresql/acs-create.sql	6 Oct 2003 13:16:11 -0000	1.22
+++ openacs-4/packages/acs-kernel/sql/postgresql/acs-create.sql	26 Nov 2003 22:47:11 -0000	1.23
@@ -154,6 +154,7 @@
   and m.rel_id = mr.rel_id
   and amo.name = 'registered_users'
   and m.group_id = amo.object_id
+  and m.container_id = m.group_id
   and mr.member_state = 'approved'
   and u.email_verified_p = 't';
 
