Index: openacs.org-dev/packages/cms/www/modules/items/symlink.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/cms/www/modules/items/symlink.tcl,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/cms/www/modules/items/symlink.tcl 9 Jul 2002 17:35:03 -0000 1.1.1.1 +++ openacs.org-dev/packages/cms/www/modules/items/symlink.tcl 8 Oct 2002 15:47:02 -0000 1.1.1.2 @@ -1,11 +1,7 @@ # if the item is or is linked to a content_folder, then # use the sitemap module to browse the folder - set sql "select parent_id, - content_folder.is_folder(item_id) as folder_p - from cr_items - where item_id = :resolved_id" - query folder_check onerow $sql + db_0or1row do_folder_check "" -column_array folder_check if { [info exists folder_check] } { set folder_p $folder_check(folder_p)