Index: openacs-4/packages/general-comments/www/file-add.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/general-comments/www/file-add.tcl,v diff -u -r1.4.20.1 -r1.4.20.2 --- openacs-4/packages/general-comments/www/file-add.tcl 6 Sep 2013 16:01:50 -0000 1.4.20.1 +++ openacs-4/packages/general-comments/www/file-add.tcl 6 Sep 2013 17:37:19 -0000 1.4.20.2 @@ -21,7 +21,7 @@ file_name:onevalue } -validate { allow_file_attachments { - set allow_files_p [ad_parameter AllowFileAttachmentsP {general-comments} {t}] + set allow_files_p [parameter::get -parameter AllowFileAttachmentsP -default {t}] if { $allow_files_p != "t" } { ad_complain "Attaching files to comments has been disabled." }