Index: openacs.org-dev/packages/cms/www/modules/items/attributes-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/cms/www/modules/items/attributes-edit.tcl,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/cms/www/modules/items/attributes-edit.tcl 9 Jul 2002 17:35:03 -0000 1.1.1.1 +++ openacs.org-dev/packages/cms/www/modules/items/attributes-edit.tcl 8 Oct 2002 15:47:01 -0000 1.1.1.2 @@ -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_0or1row get_item "" -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