Index: openacs-4/packages/general-comments/www/comment-add-3.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/general-comments/www/comment-add-3.tcl,v diff -u -r1.9 -r1.9.8.1 --- openacs-4/packages/general-comments/www/comment-add-3.tcl 5 May 2007 15:54:47 -0000 1.9 +++ openacs-4/packages/general-comments/www/comment-add-3.tcl 6 Sep 2013 16:01:49 -0000 1.9.8.1 @@ -29,7 +29,7 @@ set user_id [ad_conn user_id] # check to see if the user can create comments on this object -ad_require_permission $object_id general_comments_create +permission::require_permission -object_id $object_id -privilege general_comments_create # insert the comment into the database set creation_ip [ad_conn peeraddr]