Index: openacs-4/packages/general-comments/www/url-add-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/general-comments/www/url-add-2.tcl,v diff -u -r1.4 -r1.4.14.1 --- openacs-4/packages/general-comments/www/url-add-2.tcl 1 Mar 2005 00:01:37 -0000 1.4 +++ openacs-4/packages/general-comments/www/url-add-2.tcl 6 Sep 2013 16:01:50 -0000 1.4.14.1 @@ -26,7 +26,7 @@ set user_id [ad_conn user_id] # 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 # insert the url into database set creation_ip [ad_conn peeraddr]