Index: openacs-4/packages/cms/www/modules/items/attributes-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/modules/items/attributes-edit.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/cms/www/modules/items/attributes-edit.tcl 20 Apr 2001 20:51:10 -0000 1.1 +++ openacs-4/packages/cms/www/modules/items/attributes-edit.tcl 24 May 2001 01:30:52 -0000 1.2 @@ -3,12 +3,10 @@ request create request set_param item_id -datatype integer -set db [template::get_db_handle] - # check permissions - user must have cm_write on the item content::check_access $item_id cm_write -user_id [User::getID] -template::query one_item onerow " +template::query get_item one_item onerow " select i.content_type, i.name, nvl(r.title, i.name) title, i.latest_revision from @@ -21,8 +19,6 @@ template::util::array_to_vars one_item -template::release_db_handle - # flush the sitemap folder listing cache in anticipation # of the new item cms_folder::flush sitemap $item_id