Index: openacs-4/packages/general-comments/www/comment-add-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/general-comments/www/comment-add-2.tcl,v diff -u -N -r1.8.2.2 -r1.8.2.3 --- openacs-4/packages/general-comments/www/comment-add-2.tcl 26 Apr 2022 19:25:17 -0000 1.8.2.2 +++ openacs-4/packages/general-comments/www/comment-add-2.tcl 29 Apr 2022 06:58:16 -0000 1.8.2.3 @@ -28,7 +28,7 @@ category:onevalue return_url:onevalue } -validate { - comment_mime_type_allowed -requires comment_mime_type:notnull,printable { + comment_mime_type_allowed -requires {comment_mime_type:notnull comment_mime_type:printable} { if {$comment_mime_type ni {"text/plain" "text/html"}} { ad_complain [_ acs-tcl.lt_name_is_not_valid [list name comment_mime_type]] return