Index: openacs-4/packages/forums/lib/message/post.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/lib/message/post.tcl,v diff -u -r1.11 -r1.11.2.1 --- openacs-4/packages/forums/lib/message/post.tcl 16 Dec 2006 20:55:49 -0000 1.11 +++ openacs-4/packages/forums/lib/message/post.tcl 19 Jan 2007 14:21:11 -0000 1.11.2.1 @@ -48,7 +48,7 @@ } # Deal with anonymous postings -if {[expr {$user_id != 0 && $anonymous_allowed_p}]} { +if {$user_id != 0 && $anonymous_allowed_p} { append form_elements { {anonymous_p:integer(checkbox),optional {options {{"[_ forums.post_anonymously]" 1}}} @@ -63,7 +63,7 @@ } # Attachments -if {[expr {$user_id != 0 && $anonymous_allowed_p}]} { +if {$user_id != 0} { append form_elements { {attach_p:integer(radio),optional {options {{[_ acs-kernel.common_No] 0} {[_ acs-kernel.common_Yes] 1}}}