Index: openacs-4/packages/forums/tcl/form-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/tcl/form-procs.tcl,v diff -u -N -r1.13.2.3 -r1.13.2.4 --- openacs-4/packages/forums/tcl/form-procs.tcl 19 Jun 2019 16:43:21 -0000 1.13.2.3 +++ openacs-4/packages/forums/tcl/form-procs.tcl 19 Jun 2019 17:26:58 -0000 1.13.2.4 @@ -186,11 +186,13 @@ -help_text [_ forums.help_new_threads] \ -options [list [list [_ forums.Yes] t] [list [_ forums.No] f] ] - template::element create $form_name ${prefix}attachments_allowed_p \ - -label [_ forums.lt_Users_Can_Add_Attachments] \ - -datatype text \ - -widget radio \ - -options [list [list [_ forums.Yes] t] [list [_ forums.No] f] ] + if {[forum::attachments_enabled_p]} { + template::element create $form_name ${prefix}attachments_allowed_p \ + -label [_ forums.lt_Users_Can_Add_Attachments] \ + -datatype text \ + -widget radio \ + -options [list [list [_ forums.Yes] t] [list [_ forums.No] f] ] + } } # Local variables: