Index: openacs-4/packages/forums/www/message-view.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/www/message-view.tcl,v diff -u -r1.49.4.2 -r1.49.4.3 --- openacs-4/packages/forums/www/message-view.tcl 29 Jul 2014 11:24:05 -0000 1.49.4.2 +++ openacs-4/packages/forums/www/message-view.tcl 10 Sep 2014 19:48:59 -0000 1.49.4.3 @@ -39,7 +39,7 @@ # Check if the user has admin on the message set permissions(moderate_p) [forum::security::can_moderate_message_p -message_id $message_id] -if {!${permissions(moderate_p)}} { +if { !$permissions(moderate_p) } { # Set post_p according to permissions ... set permissions(post_p) [forum::security::can_post_message_p -message_id $message_id] # ... alternatively, we could use a parameter to behave like @@ -56,7 +56,7 @@ } # Check if the message is approved -if {!${permissions(moderate_p)} && $message(state) ne "approved" } { +if {!$permissions(moderate_p) && $message(state) ne "approved" } { ad_returnredirect "forum-view?forum_id=$message(forum_id)" ad_script_abort }