Index: openacs-4/packages/attachments/www/go-to-attachment.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/attachments/www/go-to-attachment.tcl,v diff -u -r1.2.2.3 -r1.2.2.4 --- openacs-4/packages/attachments/www/go-to-attachment.tcl 26 May 2003 21:39:13 -0000 1.2.2.3 +++ openacs-4/packages/attachments/www/go-to-attachment.tcl 27 May 2003 17:53:24 -0000 1.2.2.4 @@ -25,15 +25,15 @@ return } - content_item { + file_storage_object { set title [db_string select_attachment_title {}] ad_returnredirect "download/[ad_urlencode $title]?object_id=$object_id&attachment_id=$attachment_id" ad_script_abort return } default { - ad_return_complaint 1 "don't know how to deal with this attachment type" + ad_return_complaint 1 "don't know how to deal with attachment type $content_type" return } }