Index: openacs.org-dev/packages/cms/www/modules/items/create-1.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/cms/www/modules/items/create-1.tcl,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/cms/www/modules/items/create-1.tcl 9 Jul 2002 17:35:03 -0000 1.1.1.1 +++ openacs.org-dev/packages/cms/www/modules/items/create-1.tcl 8 Oct 2002 15:47:02 -0000 1.1.1.2 @@ -30,14 +30,7 @@ } -template::query get_content_typ_name content_type_name onevalue " - select - pretty_name - from - acs_object_types - where - object_type = :content_type -" +set content_type_name [db_string get_content_typ_name ""] if { [template::util::is_nil content_type_name] } { template::request::error bad_content_type \