Index: openacs.org-dev/packages/cms/www/modules/items/content-add-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/cms/www/modules/items/content-add-2.tcl,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/cms/www/modules/items/content-add-2.tcl 9 Jul 2002 17:35:03 -0000 1.1.1.1 +++ openacs.org-dev/packages/cms/www/modules/items/content-add-2.tcl 8 Oct 2002 15:47:02 -0000 1.1.1.2 @@ -4,17 +4,8 @@ request set_param content_method -datatype keyword request set_param revision_id -datatype integer -template::query get_revision one_revision onerow " - select - item_id, title as name - from - cr_revisions - where - revision_id = :revision_id -" +db_1row get_revision "" -template::util::array_to_vars one_revision - # permissions check - must have cm_write on the item content::check_access $item_id cm_write -user_id [User::getID]