Index: openacs-4/packages/general-comments/tcl/general-comments-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/general-comments/tcl/general-comments-procs.tcl,v diff -u -r1.22 -r1.23 --- openacs-4/packages/general-comments/tcl/general-comments-procs.tcl 27 Jun 2015 21:10:12 -0000 1.22 +++ openacs-4/packages/general-comments/tcl/general-comments-procs.tcl 7 Aug 2017 23:48:12 -0000 1.23 @@ -34,11 +34,15 @@ @error } { + + # Generate a unique id for the message + # result from proc comes enveloped in <> + set rfc822_id [string range [acs_mail_lite::generate_message_id] 1 end-1] db_transaction { - db_exec_plsql insert_comment { } - db_dml add_entry { } + db_exec_plsql insert_comment {} + db_dml add_entry {} db_1row get_revision {} db_dml set_content {} -blobs [list $content] @@ -208,17 +212,17 @@ append attachments_html "