Index: openacs-4/packages/forums/lib/message/attachment-list.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/lib/message/attachment-list.tcl,v diff -u -N -r1.5 -r1.6 --- openacs-4/packages/forums/lib/message/attachment-list.tcl 7 Aug 2017 23:48:11 -0000 1.5 +++ openacs-4/packages/forums/lib/message/attachment-list.tcl 20 Jan 2018 22:56:50 -0000 1.6 @@ -8,6 +8,7 @@ if {![array exists message]} { ad_return_complaint 1 "[_ forums.lt_need_to_provide_a_mes]" + ad_script_abort } if {(![info exists bgcolor] || $bgcolor eq "")} { @@ -24,7 +25,7 @@ set attachment_graphic [attachments::graphic_url] -if {([info exists alt_template] && $alt_template ne "")} { +if {[info exists alt_template] && $alt_template ne ""} { ad_return_template $alt_template }