Index: openacs.org-dev/packages/portal/sql/postgresql/api-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/portal/sql/postgresql/api-create.sql,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/portal/sql/postgresql/api-create.sql 9 Jul 2002 17:35:10 -0000 1.1.1.1 +++ openacs.org-dev/packages/portal/sql/postgresql/api-create.sql 8 Oct 2002 15:47:17 -0000 1.1.1.2 @@ -99,7 +99,7 @@ from portal_element_map m where portal_id = p_parent_portal_id; - elsif copy_portal_id is not null + elsif p_copy_portal_id is not null then -- copy the portal, using the source''s parent_portal_id. insert into portals (