Index: openacs-4/packages/general-comments/www/delete-attachment.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/general-comments/www/delete-attachment.tcl,v diff -u -r1.5 -r1.5.8.1 --- openacs-4/packages/general-comments/www/delete-attachment.tcl 5 May 2007 15:54:47 -0000 1.5 +++ openacs-4/packages/general-comments/www/delete-attachment.tcl 6 Sep 2013 16:01:49 -0000 1.5.8.1 @@ -23,7 +23,7 @@ } # check for permissions -ad_require_permission $attach_id delete +permission::require_permission -object_id $attach_id -privilege delete # set template variables set page_title "[_ general-comments.Delete_attachment]"