Index: openacs-4/packages/acs-events/sql/postgresql/activity-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-events/sql/postgresql/activity-create.sql,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/acs-events/sql/postgresql/activity-create.sql	4 Mar 2004 14:52:39 -0000	1.5
+++ openacs-4/packages/acs-events/sql/postgresql/activity-create.sql	12 Mar 2004 18:48:48 -0000	1.6
@@ -198,7 +198,10 @@
             new__creation_date,    -- creation_date  
             new__creation_user,    -- creation_user
             new__creation_ip,	   -- creation_ip
-            new__context_id	   -- context_id
+            new__context_id,	   -- context_id
+            ''t'',		   -- security_inherit_p
+            new__name,		   -- title
+            null		   -- package_id
 	    );
 
        insert into acs_activities
@@ -300,6 +303,10 @@
               status_summary = coalesce(edit__status_summary, status_summary)
        where activity_id  = edit__activity_id;
 
+       update acs_objects
+       set    title = coalesce(edit__name, name)
+       where activity_id  = edit__activity_id;
+
        return 0;
 
 end;' language 'plpgsql';
