Index: openacs.org-dev/packages/forums/www/message-attachment-chunk.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/forums/www/message-attachment-chunk.tcl,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/forums/www/message-attachment-chunk.tcl 9 Jul 2002 17:35:09 -0000 1.1.1.1 +++ openacs.org-dev/packages/forums/www/message-attachment-chunk.tcl 25 Jul 2002 18:47:15 -0000 1.1.1.2 @@ -1,4 +1,3 @@ - ad_page_contract { a message attachment chunk to be included to display attachments @@ -11,6 +10,10 @@ ad_return_complaint 1 "need to provide a message to display attachments!" } +if {![exists_and_not_null bgcolor]} { + set bgcolor "#ffffff" +} + # get the attachments set attachments [attachments::get_attachments -object_id $message(message_id)]