Index: openacs-4/packages/calendar/www/cal-item-view.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/www/cal-item-view.tcl,v diff -u -r1.27.2.3 -r1.27.2.4 --- openacs-4/packages/calendar/www/cal-item-view.tcl 24 Feb 2023 13:03:29 -0000 1.27.2.3 +++ openacs-4/packages/calendar/www/cal-item-view.tcl 24 Feb 2023 13:04:50 -0000 1.27.2.4 @@ -38,7 +38,7 @@ set cal_item(no_time_p) [expr {!$cal_item(time_p)}] # Attachment URLs -if {[calendar::attachments_enabled_p]} { +if {[calendar::attachments_enabled_p -package_id $cal_item(calendar_package_id)]} { set href [attachments::add_attachment_url \ -object_id $cal_item(cal_item_id) \ -pretty_name $cal_item(name) \