Index: openacs-4/packages/dotlrn/tcl/community-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/tcl/community-procs.xql,v diff -u -N -r1.97 -r1.98 --- openacs-4/packages/dotlrn/tcl/community-procs.xql 14 Nov 2017 17:03:24 -0000 1.97 +++ openacs-4/packages/dotlrn/tcl/community-procs.xql 15 Nov 2017 14:35:30 -0000 1.98 @@ -54,7 +54,7 @@ - select 1 where exists ( + select 1 from dual where exists ( select 1 from dotlrn_communities_all where (:parent_community_id is null or parent_community_id = :parent_community_id) and community_key = :community_key) @@ -170,7 +170,7 @@ - select 1 where exists (select 1 + select 1 from dual where exists (select 1 from dotlrn_member_rels_approved where community_id = :community_id and user_id = :user_id) @@ -179,7 +179,7 @@ - select 1 where exists (select 1 + select 1 from dual where exists (select 1 from dotlrn_member_rels_full where community_id = :community_id and user_id = :user_id @@ -243,7 +243,7 @@ - select 1 where exists (select 1 + select 1 from dual where exists (select 1 from dotlrn_communities where parent_community_id = :community_id)