Index: openacs-4/packages/forums/sql/postgresql/forums-forums-package-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/sql/postgresql/forums-forums-package-create.sql,v diff -u -r1.5 -r1.6 --- openacs-4/packages/forums/sql/postgresql/forums-forums-package-create.sql 24 Jun 2002 21:40:16 -0000 1.5 +++ openacs-4/packages/forums/sql/postgresql/forums-forums-package-create.sql 5 Aug 2002 20:00:08 -0000 1.6 @@ -35,15 +35,15 @@ p_creation_date, p_creation_user, p_creation_ip, - p_context_id + coalesce(p_context_id, p_package_id) ); insert into forums_forums (forum_id, name, charter, presentation_type, posting_policy, package_id) values (v_forum_id, p_name, p_charter, p_presentation_type, p_posting_policy, p_package_id); - perform acs_object__update_last_modified(p_context_id); + perform acs_object__update_last_modified(coalesce(p_context_id, p_package_id)); return v_forum_id; end; Index: openacs-4/packages/forums/sql/postgresql/forums-messages-package-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/sql/postgresql/forums-messages-package-create.sql,v diff -u -r1.6 -r1.7 --- openacs-4/packages/forums/sql/postgresql/forums-messages-package-create.sql 24 Jun 2002 21:40:16 -0000 1.6 +++ openacs-4/packages/forums/sql/postgresql/forums-messages-package-create.sql 5 Aug 2002 20:00:09 -0000 1.7 @@ -41,7 +41,7 @@ p_creation_date, p_creation_user, p_creation_ip, - p_context_id + coalesce(p_context_id, p_forum_id) ); if p_state is null then