Index: openacs-4/packages/calendar/tcl/cal-item-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/tcl/cal-item-procs.tcl,v diff -u -r1.35.2.3 -r1.35.2.4 --- openacs-4/packages/calendar/tcl/cal-item-procs.tcl 9 Dec 2019 08:19:12 -0000 1.35.2.3 +++ openacs-4/packages/calendar/tcl/cal-item-procs.tcl 19 Feb 2020 10:52:04 -0000 1.35.2.4 @@ -124,10 +124,9 @@ if {[info exists array]} { upvar $array row } - if { [catch { - set attachments_enabled_p [calendar::attachments_enabled_p] - }] } { set attachments_enabled_p 0 } + set attachments_enabled_p [calendar::attachments_enabled_p] + if { $attachments_enabled_p } { set query_name select_item_data_with_attachment } else {