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.3 -r1.4
--- openacs-4/packages/acs-events/sql/postgresql/activity-create.sql	17 May 2003 09:46:57 -0000	1.3
+++ openacs-4/packages/acs-events/sql/postgresql/activity-create.sql	2 Mar 2004 17:01:09 -0000	1.4
@@ -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';
