Index: openacs-4/packages/wp-slim/www/serve-presentation-revision.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/wp-slim/www/serve-presentation-revision.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/wp-slim/www/serve-presentation-revision.tcl 21 Dec 2004 22:06:47 -0000 1.7 +++ openacs-4/packages/wp-slim/www/serve-presentation-revision.tcl 1 Mar 2005 00:01:46 -0000 1.8 @@ -26,7 +26,7 @@ } #added permission checking roc@ -set user_id [ad_verify_and_get_user_id] +set user_id [ad_conn user_id] permission::require_permission -party_id $user_id -object_id $pres_item_id -privilege wp_view_presentation set subsite_name [ad_conn package_url]