Index: openacs-4/packages/general-comments/www/url-add.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/general-comments/www/url-add.tcl,v diff -u -r1.4 -r1.4.20.1 --- openacs-4/packages/general-comments/www/url-add.tcl 7 Nov 2002 08:32:49 -0000 1.4 +++ openacs-4/packages/general-comments/www/url-add.tcl 6 Sep 2013 16:01:50 -0000 1.4.20.1 @@ -31,7 +31,7 @@ } # check to see if the user can add an attachment -ad_require_permission $parent_id write +permission::require_permission -object_id $parent_id -privilege write # set variables for template set attach_id [db_nextval acs_object_id_seq]