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 -N -r1.2 -r1.3 --- openacs-4/packages/cms/www/modules/items/attributes-edit.tcl 24 May 2001 01:30:52 -0000 1.2 +++ openacs-4/packages/cms/www/modules/items/attributes-edit.tcl 16 Aug 2002 00:32:08 -0000 1.3 @@ -6,19 +6,8 @@ # check permissions - user must have cm_write on the item content::check_access $item_id cm_write -user_id [User::getID] -template::query get_item one_item onerow " - select - i.content_type, i.name, nvl(r.title, i.name) title, i.latest_revision - from - cr_items i, cr_revisions r - where - i.item_id = :item_id - and - i.latest_revision = r.revision_id (+) -" +db_1row get_item_info "" -template::util::array_to_vars one_item - # flush the sitemap folder listing cache in anticipation # of the new item cms_folder::flush sitemap $item_id