Index: openacs-4/packages/general-comments/www/file-download.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/general-comments/www/file-download.tcl,v diff -u -r1.3 -r1.3.26.1 --- openacs-4/packages/general-comments/www/file-download.tcl 31 Oct 2001 20:42:07 -0000 1.3 +++ openacs-4/packages/general-comments/www/file-download.tcl 6 Sep 2013 16:01:50 -0000 1.3.26.1 @@ -14,6 +14,6 @@ } # check for permissions -ad_require_permission $item_id read +permission::require_permission -object_id $item_id -privilege read cr_write_content -item_id $item_id