Index: openacs.org-dev/packages/cms/www/modules/items/create-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/cms/www/modules/items/create-2.tcl,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/cms/www/modules/items/create-2.tcl 9 Jul 2002 17:35:03 -0000 1.1.1.1 +++ openacs.org-dev/packages/cms/www/modules/items/create-2.tcl 8 Oct 2002 15:47:02 -0000 1.1.1.2 @@ -25,15 +25,7 @@ # permissions check - need cm_new on the parent item content::check_access $parent_id cm_new -user_id [User::getID] -template::query get_item new_item onerow " - select - NVL(content_item.get_path(:parent_id), '/') as item_path, - pretty_name as content_type_name - from - acs_object_types - where - object_type = :content_type -" +db_0or1row get_item "" -column_array new_item # validate content_type and parent_id if { [template::util::is_nil new_item] } {