Index: openacs-4/packages/dotlrn/sql/oracle/communities-package-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/sql/oracle/communities-package-create.sql,v
diff -u -N -r1.5 -r1.6
--- openacs-4/packages/dotlrn/sql/oracle/communities-package-create.sql	30 Sep 2003 13:11:39 -0000	1.5
+++ openacs-4/packages/dotlrn/sql/oracle/communities-package-create.sql	1 Feb 2009 21:56:44 -0000	1.6
@@ -59,7 +59,7 @@
         v_unique_name acs_objects.object_id%TYPE;
     begin
         if parent_type is null then
-            v_parent_object_type:= 'group';
+            v_parent_object_type:= 'application_group';
         else
             v_parent_object_type:= parent_type;
         end if;
@@ -215,15 +215,16 @@
     is
         c_id integer;
     begin
-        c_id := acs_group.new (
+        c_id := application_group.new (
             context_id => dotlrn_community.new.context_id,
             group_id => dotlrn_community.new.community_id,
             object_type => dotlrn_community.new.community_type,
             creation_date => dotlrn_community.new.creation_date,
             creation_user => dotlrn_community.new.creation_user,
             creation_ip => dotlrn_community.new.creation_ip,
             group_name => dotlrn_community.new.community_key,
-            join_policy => dotlrn_community.new.join_policy
+            join_policy => dotlrn_community.new.join_policy,
+            package_id => dotlrn_community.new.package_id
         );
 
         insert into dotlrn_communities_all
