Index: openacs-4/packages/static-pages/tcl/static-pages-procs-oracle.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/static-pages/tcl/static-pages-procs-oracle.xql,v diff -u -r1.7 -r1.8 --- openacs-4/packages/static-pages/tcl/static-pages-procs-oracle.xql 3 Dec 2001 16:58:46 -0000 1.7 +++ openacs-4/packages/static-pages/tcl/static-pages-procs-oracle.xql 13 Aug 2002 12:33:53 -0000 1.8 @@ -101,7 +101,7 @@ - select nvl(content_item.get_id(:cumulative_path,:root_folder_id),0) + select nvl((select item_id from cr_items where name=:cumulative_path),0) from dual Index: openacs-4/packages/static-pages/tcl/static-pages-procs-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/static-pages/tcl/static-pages-procs-postgresql.xql,v diff -u -r1.15 -r1.16 --- openacs-4/packages/static-pages/tcl/static-pages-procs-postgresql.xql 8 Dec 2001 01:18:00 -0000 1.15 +++ openacs-4/packages/static-pages/tcl/static-pages-procs-postgresql.xql 13 Aug 2002 12:33:53 -0000 1.16 @@ -16,7 +16,7 @@ - select coalesce(content_item__get_id(:cumulative_path,:root_folder_id,'f'),0) + select coalesce((select item_id from cr_items where name=:cumulative_path),0)