Index: openacs-4/packages/static-pages/sql/postgresql/static-pages-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/static-pages/sql/postgresql/static-pages-create.sql,v
diff -u -r1.12 -r1.13
--- openacs-4/packages/static-pages/sql/postgresql/static-pages-create.sql	26 Oct 2001 19:26:14 -0000	1.12
+++ openacs-4/packages/static-pages/sql/postgresql/static-pages-create.sql	30 Oct 2001 21:53:56 -0000	1.13
@@ -705,7 +705,7 @@
 		v_file_row	static_pages%ROWTYPE;
 		v_folder_row	sp_folders%ROWTYPE;
         begin
-                if recursive_p = ''t'' then
+                if p_recursive_p = ''t'' then
                         -- For each folder that is a descendant of item_id, grant.
                         for v_folder_row in 
                                 select folder_id from sp_folders
